diff --git a/src/divine_equipment/Divine_Equipment.java b/src/divine_equipment/Divine_Equipment.java index 7c6bea5..3af1fe4 100644 --- a/src/divine_equipment/Divine_Equipment.java +++ b/src/divine_equipment/Divine_Equipment.java @@ -8,6 +8,7 @@ package divine_equipment; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.*; + import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.LanguageRegistry; @@ -34,24 +35,64 @@ public class Divine_Equipment public static String imageFolder = "resources/textures"; // Init all new Tool materials + + // Init All Tainted materials EnumToolMaterial TaintedDiamond; + EnumToolMaterial TaintedGold; EnumToolMaterial TaintedIron; + EnumToolMaterial TaintedStone; + EnumToolMaterial TaintedWood; + + // Init All Blessed materials + EnumToolMaterial BlessedDiamond; + EnumToolMaterial BlessedGold; + EnumToolMaterial BlessedIron; + EnumToolMaterial BlessedStone; + EnumToolMaterial BlessedWood; + + + // Init All Ender Infused Materials + + // Will be added after V 1.0 + @Mod.EventHandler public void preInit(FMLPreInitializationEvent event){ - TaintedDiamond = addToolMaterial("TaintedDiamond", 3, 468, 3, par4, ); - TaintedIron = addToolMaterial("Tainted Iron", 2, 75, 2, par4); + + // Tainted Tool Material Properties (Subject to Change) + // Name, Harvest Level, Uses, Dig Speed, Damage, Enchantablity + /* + Default Values + WOOD(0, 59, 2.0F, 0, 15), + STONE(1, 131, 4.0F, 1, 5), + IRON(2, 250, 6.0F, 2, 14), + EMERALD(3, 1561, 8.0F, 3, 10), + GOLD(0, 32, 12.0F, 0, 22); + */ + TaintedDiamond = addToolMaterial("Tainted Diamond", 3, 1003, 8.0F, 4, 15); + TaintedGold = addToolMaterial("Tainted Gold", 2, 20, 12.0F, 0, 27); + TaintedIron = addToolMaterial("Tainted Iron", 2, 75, 6.0F, 3, 19); + TaintedStone = addToolMaterial("Tainted Stone", 1, 88, 4.0F, 0, 10 ); + TaintedWood = addToolMaterial("Tainted Wood", 0, 40, 2.0F, 0, 20); + + // Blessed tool Material Properties (Subject to Change) + + BlessedDiamond = addToolMaterial("Blessed Diamond", 3, 2029, 10.0F, 3, 10); + BlessedGold = addToolMaterial("Blessed Gold", 0, 0, 0F, 0, 0); + BlessedIron = addToolMaterial("Blessed Iron", 0, 0, 0F, 0, 0); + BlessedStone = addToolMaterial("Blessed Stone", 0, 0, 0F, 0, 0); + BlessedWood = addToolMaterial("Blessed Wood", 0, 0, 0F, 0, 0); //Telling forge that we are creating stuff - public static Item ItemTDSword; - public void load(){ - //Create Item + Picture - ItemTDSword = new TDSword(560, EnumToolMaterial.EMERALD).setUnlocalizedName("Tsword.Diamond"); - // Names - LanguageRegistry.addName(TDSword, "Tainted Diamond Sword"); + Item TaintedDiamondSword;{ + public void load(FMLInitializationEvent event); + { + //Create Item + Picture + TaintedDiamondSword = new TDSword(560, EnumToolMaterial.EMERALD).setUnlocalizedName("Tsword.Diamond"); + // Names + LanguageRegistry.addName(TaintedDiamondSword, "Tainted Diamond Sword"); + } } - - public static Item ItemTSword; - + } } \ No newline at end of file diff --git a/src/divine_equipment/items/BlessedWood.java b/src/divine_equipment/items/BlessedWood.java new file mode 100644 index 0000000..bd173bb --- /dev/null +++ b/src/divine_equipment/items/BlessedWood.java @@ -0,0 +1,8 @@ +package divine_equipment.items; + +/** + * User: Orthus + * Date: 9/30/13 + */ +public class BlessedWood { +} diff --git a/src/divine_equipment/items/TaintedDiamondSword.java b/src/divine_equipment/items/TaintedDiamondSword.java new file mode 100644 index 0000000..8d0228e --- /dev/null +++ b/src/divine_equipment/items/TaintedDiamondSword.java @@ -0,0 +1,18 @@ +package divine_equipment.items; + +import net.minecraft.item.EnumToolMaterial; +import net.minecraft.item.Item; +import cpw.mods.fml.relauncher.*; +import net.minecraft.creativetab.CreativeTabs; +import net.minecraft.item.ItemSword; + +/** + * User: Orthus + * Date: 9/29/13 + */ +public class TaintedDiamondSword extends ItemSword { + public TaintedDiamondSword(int par1, EnumToolMaterial EMERALD){ + super(par1, EMERALD); + setCreativeTab(CreativeTabs.tabCombat); + } +} diff --git a/src/divine_equipment/items/TaintedWood.java b/src/divine_equipment/items/TaintedWood.java new file mode 100644 index 0000000..60d85e6 --- /dev/null +++ b/src/divine_equipment/items/TaintedWood.java @@ -0,0 +1,8 @@ +package divine_equipment.items; + +/** + * User: Orthus + * Date: 9/30/13 + */ +public class TaintedWood { +}