Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. package com.TheRPGAdventurer.client.items;
  2.  
  3. import com.TheRPGAdventurer.RealmOfTheDragons;
  4.  
  5. import net.minecraft.inventory.EntityEquipmentSlot;
  6. import net.minecraft.item.ItemArmor;
  7. import net.minecraft.item.ItemStack;
  8. import net.minecraft.util.ResourceLocation;
  9.  
  10. public class ItemModArmour extends ItemArmor {
  11.  
  12. public ItemModArmour(ArmorMaterial materialIn, int renderIndexIn, EntityEquipmentSlot equipmentSlotIn, String unlocalizedName, ItemStack toBeRepaired, ItemStack materailIn) {
  13. super(materialIn, renderIndexIn, equipmentSlotIn);
  14. this.setUnlocalizedName(unlocalizedName);
  15. this.setRegistryName(new ResourceLocation(RealmOfTheDragons.MODID, unlocalizedName));
  16.  
  17. }
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement