SHARE
TWEET

TAItems

a guest Sep 19th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package net.mcreator.thaumic_armors.armors;
  2.  
  3. import javax.annotation.Nullable;
  4.  
  5. import net.mcreator.thaumic_armors.api.APIUtils;
  6. import net.mcreator.thaumic_armors.Tabs.TATabs;
  7.  
  8. import net.minecraft.inventory.EntityEquipmentSlot;
  9. import net.minecraft.item.Item;
  10. import net.minecraft.item.ItemArmor;
  11. import net.minecraft.item.ItemStack;
  12. import net.minecraftforge.fml.relauncher.Side;
  13. import net.minecraftforge.fml.relauncher.SideOnly;
  14.  
  15. public class ItemTAArmor extends ItemArmor {
  16.  
  17.  
  18.     public ItemTAArmor(ArmorMaterial materialIn, int renderIndexIn, EntityEquipmentSlot equipmentSlotIn, String name) {
  19.         super(materialIn, renderIndexIn, equipmentSlotIn);
  20.         setUnlocalizedName(name);
  21.         setCreativeTab(TATabs.tabCombat);
  22.     }
  23.  
  24.     @Override
  25.     @SideOnly(Side.CLIENT)
  26.     @Nullable
  27.     public net.minecraft.client.gui.FontRenderer getFontRenderer(ItemStack stack)
  28.     {
  29.         return APIUtils.getFontRenderer(stack);
  30.     }
  31. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top