From b1d9baddefe2fe995be83d6376c94d35ae309a9a Mon Sep 17 00:00:00 2001 From: Zachary Daltorio Date: Thu, 3 Oct 2013 19:09:16 -0400 Subject: [PATCH] Cleaned up class files. --- src/divine_equipment/Divine_Equipment.java | 185 ------------------ .../common/Divine_Content.java | 182 +++++++++++++++++ .../divine_equipment/Divine_Equipment.java | 54 +++++ src/divine_equipment/items/BlessedStone.java | 8 + 4 files changed, 244 insertions(+), 185 deletions(-) delete mode 100644 src/divine_equipment/Divine_Equipment.java create mode 100644 src/divine_equipment/common/Divine_Content.java create mode 100644 src/divine_equipment/divine_equipment/Divine_Equipment.java create mode 100644 src/divine_equipment/items/BlessedStone.java diff --git a/src/divine_equipment/Divine_Equipment.java b/src/divine_equipment/Divine_Equipment.java deleted file mode 100644 index b085f52..0000000 --- a/src/divine_equipment/Divine_Equipment.java +++ /dev/null @@ -1,185 +0,0 @@ -/** - * Author: Orthus - * Date: 9/29/13 - */ - -import cpw.mods.fml.common.Mod; -import cpw.mods.fml.common.Mod.Instance; -import cpw.mods.fml.common.event.FMLPreInitializationEvent; -import cpw.mods.fml.common.network.NetworkMod; -import cpw.mods.fml.common.registry.GameRegistry; -import cpw.mods.fml.common.registry.LanguageRegistry; -import net.minecraft.block.Block; -import net.minecraft.block.material.Material; -import net.minecraft.item.EnumToolMaterial; -import net.minecraft.item.Item; -import net.minecraftforge.common.EnumHelper; -import blocks.*; -import items.*; - -@SuppressWarnings("ALL") -@Mod(modid = "divine_equipment", name = "Divine Equipment",version = "V0.5") -@NetworkMod(clientSideRequired = true, serverSideRequired = false, channels = { "DEquipment" }) -public class Divine_Equipment -{ - public static final String modid = "divine_equipment"; - public static Block taintedstone; - public static Block blessedstone; - public static Block blessedwood; - public static Block taintedwood; - - - @Instance("Divine_Equipment") - public static Divine_Equipment INSTANCE; - - // @SidedProxy(clientSide = "divine_equipment.client.ClientProxy", serverSide = "divine_equipment.common.CommonProxy") - // public static CommonProxy proxy; - - // 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 version 1.0 - - - @Mod.EventHandler - public void preInit(FMLPreInitializationEvent event){ - taintedstone = new TaintedRock(2550, Material.rock).setUnlocalizedName("Tainted Stone").setTextureName("divine_equipment:TaintedStone"); - GameRegistry.registerBlock(taintedstone, modid+ taintedstone.getUnlocalizedName().substring(5)); - LanguageRegistry.addName(taintedstone, "Tainted Stone"); - blessedstone = new BlessedRock(2551, Material.rock).setUnlocalizedName("Blessed Stone").setTextureName("divine_equipment:BlessedStone"); - GameRegistry.registerBlock(blessedstone, modid+ blessedstone.getUnlocalizedName().substring(5)); - LanguageRegistry.addName(blessedstone, "Blessed Stone"); - blessedwood = new BlessedWood(2552, Material.wood).setUnlocalizedName("Blessed Wood").setTextureName("divine_equipment:BlessedWood"); - GameRegistry.registerBlock(blessedwood, modid+ blessedwood.getUnlocalizedName().substring(5)); - LanguageRegistry.addName(blessedwood, "Blessed Wood"); - taintedwood = new TaintedWood(2553, Material.wood).setUnlocalizedName("Tainted Wood").setTextureName("divine_equipment:TaintedWood"); - GameRegistry.registerBlock(taintedwood, modid+ taintedwood.getUnlocalizedName().substring(5)); - LanguageRegistry.addName(taintedwood, "Tainted Wood"); - // 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 = EnumHelper.addToolMaterial("Tainted Diamond", 3, 1003, 8.0F, 4, 15); - TaintedGold = EnumHelper.addToolMaterial("Tainted Gold", 2, 20, 12.0F, 0, 27); - TaintedIron = EnumHelper.addToolMaterial("Tainted Iron", 2, 58, 8.0F, 0, 19); - TaintedStone = EnumHelper.addToolMaterial("Tainted Stone", 1, 88, 4.0F, 0, 10 ); - TaintedWood = EnumHelper.addToolMaterial("Tainted Wood", 0, 40, 2.0F, 0, 20); - - // Blessed tool Material Properties (Subject to Change) - BlessedDiamond = EnumHelper.addToolMaterial("Blessed Diamond", 3, 2850, 10.0F, 3, 22); - BlessedGold = EnumHelper.addToolMaterial("Blessed Gold", 2, 32, 14.00F, 0, 22); - BlessedIron = EnumHelper.addToolMaterial("Blessed Iron", 2, 250, 8.0F, 2, 14); - BlessedStone = EnumHelper.addToolMaterial("Blessed Stone", 1, 131, 6.0F, 1, 5); - BlessedWood = EnumHelper.addToolMaterial("Blessed Wood", 0, 59, 4.0F, 0, 15); - - //Telling forge that we are creating stuff - // Tainted Items - Item TaintedDiamondSword;{ - TaintedDiamondSword = new TaintedDiamondSword(2560, TaintedDiamond).setUnlocalizedName("Tainted_Sword_Diamond").setTextureName("divine_equipment:Tainted_Sword_Diamond"); - LanguageRegistry.addName(TaintedDiamondSword, "Tainted Diamond Sword"); - } - Item TaintedGoldSword;{ - TaintedGoldSword = new TaintedGoldSword(2561, TaintedGold).setUnlocalizedName("Tainted_Sword_Gold").setTextureName("divine_equipment:Tainted_Sword_Gold"); - LanguageRegistry.addName(TaintedGoldSword, "Tainted Gold Sword"); - } - Item TaintedIronSword;{ - TaintedIronSword = new TaintedIronSword(2562, TaintedIron).setUnlocalizedName("Tainted_Sword_Iron").setTextureName("divine_equipment:Tainted_Sword_Iron"); - LanguageRegistry.addName(TaintedIronSword, "Tainted Iron Sword"); - } - Item TaintedStoneSword;{ - TaintedStoneSword = new TaintedStoneSword(2563, TaintedStone).setUnlocalizedName("Tainted_Sword_Stone").setTextureName("divine_equipment:Tainted_Sword_Stone"); - LanguageRegistry.addName(TaintedStoneSword, "Tainted Stone Sword"); - } - Item TaintedWoodSword;{ - TaintedWoodSword = new TaintedWoodSword(2564, TaintedWood).setUnlocalizedName("Tainted_Sword_Wood").setTextureName("divine_equipment:Tainted_Sword_Wood"); - LanguageRegistry.addName(TaintedWoodSword, "Tainted Wood Sword"); - } - // Pickaxes - Item TaintedDiamondPickaxe;{ - TaintedDiamondPickaxe = new TaintedDiamondPickaxe(565, TaintedDiamond).setUnlocalizedName("Tainted_Pickaxe_Diamond").setTextureName("divine_equipment:Tainted_Pickaxe_Diamond"); - LanguageRegistry.addName(TaintedDiamondPickaxe, "Tainted Diamond Pickaxe"); - } - Item TaintedGoldPickaxe;{ - TaintedGoldPickaxe = new TaintedGoldPickaxe(566, TaintedGold).setUnlocalizedName("Tainted_Pickaxe_Gold").setTextureName("divine_equipment:Tainted_Pickaxe_Gold"); - LanguageRegistry.addName(TaintedGoldPickaxe, "Tainted Gold Pickaxe"); - } - Item TaintedIronPickaxe;{ - TaintedIronPickaxe = new TaintedIronPickaxe(567, TaintedIron).setUnlocalizedName("Tainted_Pickaxe_Iron").setTextureName("divine_equipment:Tainted_Pickaxe_Iron"); - LanguageRegistry.addName(TaintedIronPickaxe, "Tainted Iron Pickaxe"); - } - Item TaintedStonePickaxe;{ - TaintedStonePickaxe = new TaintedStonePickaxe(568, TaintedStone).setUnlocalizedName("Tainted_Pickaxe_Stone").setTextureName("divine_equipment:Tainted_Pickaxe_Stone"); - LanguageRegistry.addName(TaintedStonePickaxe, "Tainted Stone Pickaxe"); - } - Item TaintedWoodPickaxe;{ - TaintedWoodPickaxe = new TaintedWoodPickaxe(569, TaintedWood).setUnlocalizedName("Tainted_Pickaxe_Wood").setTextureName("divine_equipment:Tainted_Pickaxe_Wood"); - LanguageRegistry.addName(TaintedWoodPickaxe, "Tainted Wood Pickaxe"); - } - // Blessed Items - Item BlessedDiamondSword;{ - //Create Item + Picture - BlessedDiamondSword = new BlessedDiamondSword(2580, BlessedDiamond).setUnlocalizedName("Blessed_Sword_Diamond").setTextureName("divine_equipment:Blessed_Sword_Diamond"); - LanguageRegistry.addName(BlessedDiamondSword, "Blessed Diamond Sword"); -} - Item BlessedGoldSword;{ - BlessedGoldSword = new BlessedGoldSword(2581, BlessedGold).setUnlocalizedName("Blessed_Sword_Gold").setTextureName("divine_equipment:Blessed_Sword_Gold"); - LanguageRegistry.addName(BlessedGoldSword, "Blessed Gold Sword"); - } - Item BlessedIronSword;{ - BlessedIronSword = new BlessedIronSword(2582, BlessedIron).setUnlocalizedName("Blessed_Sword_Iron").setTextureName("divine_equipment:Blessed_Sword_Iron"); - LanguageRegistry.addName(BlessedIronSword, "Blessed Iron Sword"); - } - Item BlessedStoneSword;{ - BlessedStoneSword = new BlessedStoneSword(2583, BlessedStone).setUnlocalizedName("Blessed_Sword_Stone").setTextureName("divine_equipment:Blessed_Sword_Stone"); - LanguageRegistry.addName(BlessedStoneSword, "Blessed Stone Sword"); - } - Item BlessedWoodSword;{ - BlessedWoodSword = new BlessedWoodSword(2584, BlessedWood).setUnlocalizedName("Blessed_Sword_Wood").setTextureName("divine_equipment:Blessed_Sword_Wood"); - LanguageRegistry.addName(BlessedWoodSword, "Blessed Wood Sword"); - } - // Pickaxes - - Item BlessedDiamondPickaxe;{ - BlessedDiamondPickaxe = new BlessedDiamondPickaxe(585, BlessedDiamond).setUnlocalizedName("Blessed_Pickaxe_Diamond").setTextureName("divine_equipment:Blessed_Pickaxe_Diamond"); - LanguageRegistry.addName(BlessedDiamondPickaxe, "Blessed Diamond Pickaxe"); - } - Item BlessedGoldPickaxe;{ - BlessedGoldPickaxe = new BlessedGoldPickaxe(586, BlessedGold).setUnlocalizedName("Blessed_Pickaxe_Gold").setTextureName("divine_equipment:Blessed_Pickaxe_Gold"); - LanguageRegistry.addName(BlessedGoldPickaxe, "Blessed Gold Pickaxe"); - } - Item BlessedIronPickaxe;{ - BlessedIronPickaxe = new BlessedIronPickaxe(587, BlessedIron).setUnlocalizedName("Blessed_Pickaxe_Iron").setTextureName("divine_equipment:Blessed_Pickaxe_Iron"); - LanguageRegistry.addName(BlessedIronPickaxe, "Blessed Iron Pickaxe"); - } - Item BlessedStonePickaxe;{ - BlessedStonePickaxe = new BlessedStonePickaxe(588, BlessedStone).setUnlocalizedName("Blessed_Pickaxe_Stone").setTextureName("divine_equipment:Blessed_Pickaxe_Stone"); - LanguageRegistry.addName(BlessedStonePickaxe, "Blessed Stone Pickaxe"); - } - Item BlessedWoodPickaxe;{ - BlessedWoodPickaxe = new BlessedWoodPickaxe(589, BlessedWood).setUnlocalizedName("Blessed_Pickaxe_Wood").setTextureName("divine_equipment:Blessed_Pickaxe_Wood"); - LanguageRegistry.addName(BlessedWoodPickaxe, "Blessed Wood Pickaxe"); - } -} -} \ No newline at end of file diff --git a/src/divine_equipment/common/Divine_Content.java b/src/divine_equipment/common/Divine_Content.java new file mode 100644 index 0000000..aa58a8a --- /dev/null +++ b/src/divine_equipment/common/Divine_Content.java @@ -0,0 +1,182 @@ +package common; + +import blocks.BlessedRock; +import blocks.BlessedWood; +import blocks.TaintedRock; +import blocks.TaintedWood; +import cpw.mods.fml.common.registry.GameRegistry; +import cpw.mods.fml.common.registry.LanguageRegistry; +import divine_equipment.Divine_Equipment; +import items.*; +import net.minecraft.block.Block; +import net.minecraft.block.material.Material; +import net.minecraft.item.EnumToolMaterial; +import net.minecraft.item.Item; +import net.minecraftforge.common.EnumHelper; + +/** + * User: Orthus + * Date: 10/3/13 + */ + + +public class Divine_Content { + + public static String modid = Divine_Equipment.modid; + public static Block taintedstone; + public static Block blessedstone; + public static Block blessedwood; + public static Block taintedwood; + // 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; + + public Divine_Content() + { + registerBlocks(); + registerMaterials(); + } + + public void registerBlocks() + { + taintedstone = new TaintedRock(2550, Material.rock).setUnlocalizedName("Tainted Stone").setTextureName("divine_equipment:TaintedStone"); + GameRegistry.registerBlock(taintedstone, modid+ taintedstone.getUnlocalizedName().substring(5)); + LanguageRegistry.addName(taintedstone, "Tainted Stone"); + blessedstone = new BlessedRock(2551, Material.rock).setUnlocalizedName("Blessed Stone").setTextureName("divine_equipment:BlessedStone"); + GameRegistry.registerBlock(blessedstone, modid+ blessedstone.getUnlocalizedName().substring(5)); + LanguageRegistry.addName(blessedstone, "Blessed Stone"); + blessedwood = new BlessedWood(2552, Material.wood).setUnlocalizedName("Blessed Wood").setTextureName("divine_equipment:BlessedWood"); + GameRegistry.registerBlock(blessedwood, modid+ blessedwood.getUnlocalizedName().substring(5)); + LanguageRegistry.addName(blessedwood, "Blessed Wood"); + taintedwood = new TaintedWood(2553, Material.wood).setUnlocalizedName("Tainted Wood").setTextureName("divine_equipment:TaintedWood"); + GameRegistry.registerBlock(taintedwood, modid+ taintedwood.getUnlocalizedName().substring(5)); + LanguageRegistry.addName(taintedwood, "Tainted Wood"); + } + + + void registerMaterials() + { + // 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 = EnumHelper.addToolMaterial("Tainted Diamond", 3, 1003, 8.0F, 4, 15); + TaintedGold = EnumHelper.addToolMaterial("Tainted Gold", 2, 20, 12.0F, 0, 27); + TaintedIron = EnumHelper.addToolMaterial("Tainted Iron", 2, 58, 8.0F, 0, 19); + TaintedStone = EnumHelper.addToolMaterial("Tainted Stone", 1, 88, 4.0F, 0, 10 ); + TaintedWood = EnumHelper.addToolMaterial("Tainted Wood", 0, 40, 2.0F, 0, 20); + + // Blessed tool Material Properties (Subject to Change) + BlessedDiamond = EnumHelper.addToolMaterial("Blessed Diamond", 3, 2850, 10.0F, 3, 22); + BlessedGold = EnumHelper.addToolMaterial("Blessed Gold", 2, 32, 14.00F, 0, 22); + BlessedIron = EnumHelper.addToolMaterial("Blessed Iron", 2, 250, 8.0F, 2, 14); + BlessedStone = EnumHelper.addToolMaterial("Blessed Stone", 1, 131, 6.0F, 1, 5); + BlessedWood = EnumHelper.addToolMaterial("Blessed Wood", 0, 59, 4.0F, 0, 15); + + //Telling forge that we are creating stuff + // Tainted Items + Item TaintedDiamondSword;{ + TaintedDiamondSword = new TaintedDiamondSword(2560, TaintedDiamond).setUnlocalizedName("Tainted_Sword_Diamond").setTextureName("divine_equipment:Tainted_Sword_Diamond"); + LanguageRegistry.addName(TaintedDiamondSword, "Tainted Diamond Sword"); + } + Item TaintedGoldSword;{ + TaintedGoldSword = new TaintedGoldSword(2561, TaintedGold).setUnlocalizedName("Tainted_Sword_Gold").setTextureName("divine_equipment:Tainted_Sword_Gold"); + LanguageRegistry.addName(TaintedGoldSword, "Tainted Gold Sword"); + } + Item TaintedIronSword;{ + TaintedIronSword = new TaintedIronSword(2562, TaintedIron).setUnlocalizedName("Tainted_Sword_Iron").setTextureName("divine_equipment:Tainted_Sword_Iron"); + LanguageRegistry.addName(TaintedIronSword, "Tainted Iron Sword"); + } + Item TaintedStoneSword;{ + TaintedStoneSword = new TaintedStoneSword(2563, TaintedStone).setUnlocalizedName("Tainted_Sword_Stone").setTextureName("divine_equipment:Tainted_Sword_Stone"); + LanguageRegistry.addName(TaintedStoneSword, "Tainted Stone Sword"); + } + Item TaintedWoodSword;{ + TaintedWoodSword = new TaintedWoodSword(2564, TaintedWood).setUnlocalizedName("Tainted_Sword_Wood").setTextureName("divine_equipment:Tainted_Sword_Wood"); + LanguageRegistry.addName(TaintedWoodSword, "Tainted Wood Sword"); + } + // Pickaxes + Item TaintedDiamondPickaxe;{ + TaintedDiamondPickaxe = new TaintedDiamondPickaxe(565, TaintedDiamond).setUnlocalizedName("Tainted_Pickaxe_Diamond").setTextureName("divine_equipment:Tainted_Pickaxe_Diamond"); + LanguageRegistry.addName(TaintedDiamondPickaxe, "Tainted Diamond Pickaxe"); + } + Item TaintedGoldPickaxe;{ + TaintedGoldPickaxe = new TaintedGoldPickaxe(566, TaintedGold).setUnlocalizedName("Tainted_Pickaxe_Gold").setTextureName("divine_equipment:Tainted_Pickaxe_Gold"); + LanguageRegistry.addName(TaintedGoldPickaxe, "Tainted Gold Pickaxe"); + } + Item TaintedIronPickaxe;{ + TaintedIronPickaxe = new TaintedIronPickaxe(567, TaintedIron).setUnlocalizedName("Tainted_Pickaxe_Iron").setTextureName("divine_equipment:Tainted_Pickaxe_Iron"); + LanguageRegistry.addName(TaintedIronPickaxe, "Tainted Iron Pickaxe"); + } + Item TaintedStonePickaxe;{ + TaintedStonePickaxe = new TaintedStonePickaxe(568, TaintedStone).setUnlocalizedName("Tainted_Pickaxe_Stone").setTextureName("divine_equipment:Tainted_Pickaxe_Stone"); + LanguageRegistry.addName(TaintedStonePickaxe, "Tainted Stone Pickaxe"); + } + Item TaintedWoodPickaxe;{ + TaintedWoodPickaxe = new TaintedWoodPickaxe(569, TaintedWood).setUnlocalizedName("Tainted_Pickaxe_Wood").setTextureName("divine_equipment:Tainted_Pickaxe_Wood"); + LanguageRegistry.addName(TaintedWoodPickaxe, "Tainted Wood Pickaxe"); + } + // Blessed Items + Item BlessedDiamondSword;{ + //Create Item + Picture + BlessedDiamondSword = new BlessedDiamondSword(2580, BlessedDiamond).setUnlocalizedName("Blessed_Sword_Diamond").setTextureName("divine_equipment:Blessed_Sword_Diamond"); + LanguageRegistry.addName(BlessedDiamondSword, "Blessed Diamond Sword"); + } + Item BlessedGoldSword;{ + BlessedGoldSword = new BlessedGoldSword(2581, BlessedGold).setUnlocalizedName("Blessed_Sword_Gold").setTextureName("divine_equipment:Blessed_Sword_Gold"); + LanguageRegistry.addName(BlessedGoldSword, "Blessed Gold Sword"); + } + Item BlessedIronSword;{ + BlessedIronSword = new BlessedIronSword(2582, BlessedIron).setUnlocalizedName("Blessed_Sword_Iron").setTextureName("divine_equipment:Blessed_Sword_Iron"); + LanguageRegistry.addName(BlessedIronSword, "Blessed Iron Sword"); + } + Item BlessedStoneSword;{ + BlessedStoneSword = new BlessedStoneSword(2583, BlessedStone).setUnlocalizedName("Blessed_Sword_Stone").setTextureName("divine_equipment:Blessed_Sword_Stone"); + LanguageRegistry.addName(BlessedStoneSword, "Blessed Stone Sword"); + } + Item BlessedWoodSword;{ + BlessedWoodSword = new BlessedWoodSword(2584, BlessedWood).setUnlocalizedName("Blessed_Sword_Wood").setTextureName("divine_equipment:Blessed_Sword_Wood"); + LanguageRegistry.addName(BlessedWoodSword, "Blessed Wood Sword"); + } + // Pickaxes + + Item BlessedDiamondPickaxe;{ + BlessedDiamondPickaxe = new BlessedDiamondPickaxe(585, BlessedDiamond).setUnlocalizedName("Blessed_Pickaxe_Diamond").setTextureName("divine_equipment:Blessed_Pickaxe_Diamond"); + LanguageRegistry.addName(BlessedDiamondPickaxe, "Blessed Diamond Pickaxe"); + } + Item BlessedGoldPickaxe;{ + BlessedGoldPickaxe = new BlessedGoldPickaxe(586, BlessedGold).setUnlocalizedName("Blessed_Pickaxe_Gold").setTextureName("divine_equipment:Blessed_Pickaxe_Gold"); + LanguageRegistry.addName(BlessedGoldPickaxe, "Blessed Gold Pickaxe"); + } + Item BlessedIronPickaxe;{ + BlessedIronPickaxe = new BlessedIronPickaxe(587, BlessedIron).setUnlocalizedName("Blessed_Pickaxe_Iron").setTextureName("divine_equipment:Blessed_Pickaxe_Iron"); + LanguageRegistry.addName(BlessedIronPickaxe, "Blessed Iron Pickaxe"); + } + Item BlessedStonePickaxe;{ + BlessedStonePickaxe = new BlessedStonePickaxe(588, BlessedStone).setUnlocalizedName("Blessed_Pickaxe_Stone").setTextureName("divine_equipment:Blessed_Pickaxe_Stone"); + LanguageRegistry.addName(BlessedStonePickaxe, "Blessed Stone Pickaxe"); + } + Item BlessedWoodPickaxe;{ + BlessedWoodPickaxe = new BlessedWoodPickaxe(589, BlessedWood).setUnlocalizedName("Blessed_Pickaxe_Wood").setTextureName("divine_equipment:Blessed_Pickaxe_Wood"); + LanguageRegistry.addName(BlessedWoodPickaxe, "Blessed Wood Pickaxe"); + } + } + + +} diff --git a/src/divine_equipment/divine_equipment/Divine_Equipment.java b/src/divine_equipment/divine_equipment/Divine_Equipment.java new file mode 100644 index 0000000..2fbd569 --- /dev/null +++ b/src/divine_equipment/divine_equipment/Divine_Equipment.java @@ -0,0 +1,54 @@ +package divine_equipment; /** + * Author: Orthus + * Date: 9/29/13 + */ + +import common.Divine_Content; +import cpw.mods.fml.common.Mod; +import cpw.mods.fml.common.Mod.Instance; +import cpw.mods.fml.common.event.FMLPreInitializationEvent; +import cpw.mods.fml.common.network.NetworkMod; +import net.minecraft.item.EnumToolMaterial; + +@SuppressWarnings("ALL") +@Mod(modid = "divine_equipment", name = "Divine Equipment",version = "V0.5") +@NetworkMod(clientSideRequired = true, serverSideRequired = false, channels = { "DEquipment" }) +public class Divine_Equipment +{ + public static final String modid = "divine_equipment"; + + + + @Instance("Divine_Equipment") + public static Divine_Equipment INSTANCE; + + // @SidedProxy(clientSide = "divine_equipment.client.ClientProxy", serverSide = "divine_equipment.common.CommonProxy") + // public static CommonProxy proxy; + + // 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 version 1.0 + + @Mod.EventHandler + public void preInit(FMLPreInitializationEvent event){ + content = new Divine_Content(); +} + public static Divine_Content content; +} \ No newline at end of file diff --git a/src/divine_equipment/items/BlessedStone.java b/src/divine_equipment/items/BlessedStone.java new file mode 100644 index 0000000..91f4f1a --- /dev/null +++ b/src/divine_equipment/items/BlessedStone.java @@ -0,0 +1,8 @@ +package items; + +/** + * User: Orthus + * Date: 10/3/13 + */ +public class BlessedStone { +}