package com.harry9137.ct.init; import com.harry9137.ct.item.*; import com.harry9137.ct.item.armor.ItemLaserArmor; import com.harry9137.ct.reference.names; import com.harry9137.ct.utillity.EnumArmorType; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; public class modItems { public static final ItemCT itemCreepLeaf = new ItemCreepLeaf(); public static final ItemCT itemChargedCreepLeaf = new ItemChargedCreepLeaf(); public static final Item itemTestyCharge = new ChargeableItem(0, 1000).setUnlocalizedName("hello"); public static final ItemCT itemBlazeFuelCell = new ItemBlazeFuelCell(); public static final ItemCT itemSteel = new ItemSteel(); public static final ItemCT itemLaserArmorHelmet = new ItemLaserArmor(EnumArmorType.HELMET); public static final ItemCT itemLaserArmorChestplate = new ItemLaserArmor(EnumArmorType.CHESTPLATE); public static final ItemCT itemLaserArmorLeggings = new ItemLaserArmor(EnumArmorType.LEGGINGS); public static final ItemCT itemLaserArmorBoots = new ItemLaserArmor(EnumArmorType.BOOTS); public static void init(){ GameRegistry.registerItem(itemCreepLeaf, names.items.ItemCreepLeaf); GameRegistry.registerItem(itemChargedCreepLeaf, names.items.ItemChargedCreepLeaf); GameRegistry.registerItem(itemTestyCharge, "coolitem"); GameRegistry.registerItem(itemBlazeFuelCell, names.items.ItemBlazeFuelCell); GameRegistry.registerItem(itemSteel, names.items.ItemSteel); GameRegistry.registerItem(itemLaserArmorHelmet, names.items.armor.ItemLaserArmorHelmet); GameRegistry.registerItem(itemLaserArmorChestplate, names.items.armor.ItemLaserArmorChestplate); GameRegistry.registerItem(itemLaserArmorLeggings, names.items.armor.ItemLaserArmorLeggings); GameRegistry.registerItem(itemLaserArmorBoots, names.items.armor.ItemLaserArmorBoots); } }