JoeAteTheBeans

ItemInitClass

Feb 21st, 2021
748
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package com.joeatethebeans.mineite.init;
  2.  
  3. import java.util.ArrayList;
  4. import java.util.List;
  5.  
  6. import com.joeatethebeans.mineite.objects.HoeBase;
  7. import com.joeatethebeans.mineite.objects.ItemBase;
  8. import com.joeatethebeans.mineite.objects.PickaxeBase;
  9. import com.joeatethebeans.mineite.objects.ShovelBase;
  10. import com.joeatethebeans.mineite.objects.SwordBase;
  11. import com.joeatethebeans.mineite.objects.armour.ShitiumArmourBase;
  12. import com.joeatethebeans.mineite.util.Reference;
  13.  
  14. import net.minecraft.creativetab.CreativeTabs;
  15. import net.minecraft.init.SoundEvents;
  16. import net.minecraft.inventory.EntityEquipmentSlot;
  17. import net.minecraft.item.Item;
  18. import net.minecraft.item.Item.ToolMaterial;
  19. import net.minecraft.item.ItemArmor.ArmorMaterial;
  20. import net.minecraftforge.common.util.EnumHelper;
  21.  
  22. public class ItemInit {
  23.  
  24.     public static final List<Item> ITEMS = new ArrayList<Item>();
  25.     /// SHITIUM ///
  26.     public static final ToolMaterial SHITIUM_TOOLS = EnumHelper.addToolMaterial("shitium_tools", 4, 3122, 10.0f, 5.0f, 8);
  27.     public static final ArmorMaterial SHITIUM_ARMOUR = EnumHelper.addArmorMaterial("shitium_armour", Reference.MODID + ":shitium",
  28.             50, new int[]{5, 12, 16, 7}, 12, SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND, 4.0F);
  29.    
  30.     public static final Item SHITIUM_INGOT_CRUDE = new ItemBase("shitium_ingot_crude", CreativeTabs.MISC);
  31.    
  32.     public static final Item SHITIUM_SWORD = new SwordBase("shitium_sword", SHITIUM_TOOLS);
  33.     public static final Item SHITIUM_PICKAXE = new PickaxeBase("shitium_pickaxe", SHITIUM_TOOLS);
  34.     public static final Item SHITIUM_SHOVEL = new ShovelBase("shitium_shovel", SHITIUM_TOOLS);
  35.     public static final Item SHITIUM_HOE = new HoeBase("shitium_hoe", SHITIUM_TOOLS);
  36.    
  37.     public static final Item SHITIUM_HELMET = new ShitiumArmourBase("shitium_helmet", 1, SHITIUM_ARMOUR, EntityEquipmentSlot.HEAD);
  38.     public static final Item SHITIUM_CHESTPLATE = new ShitiumArmourBase("shitium_chestplate", 1, SHITIUM_ARMOUR, EntityEquipmentSlot.CHEST);
  39.     public static final Item SHITIUM_LEGGINGS = new ShitiumArmourBase("shitium_leggings", 2, SHITIUM_ARMOUR, EntityEquipmentSlot.LEGS);
  40.     public static final Item SHITIUM_BOOTS = new ShitiumArmourBase("shitium_boots", 1, SHITIUM_ARMOUR, EntityEquipmentSlot.FEET);
  41. }
RAW Paste Data