Added Blessed Weapon Classes, Weapons also Spawnable in-game now.
This commit is contained in:
@@ -9,6 +9,8 @@ package divine_equipment;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.network.NetworkMod;
|
||||
import cpw.mods.fml.common.registry.LanguageRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import divine_equipment.items.*;
|
||||
import net.minecraft.item.EnumToolMaterial;
|
||||
import net.minecraft.item.Item;
|
||||
@@ -72,33 +74,50 @@ public class Divine_Equipment
|
||||
|
||||
// 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);
|
||||
BlessedDiamond = EnumHelper.addToolMaterial("Blessed Diamond", 3, 2029, 10.0F, 3, 10);
|
||||
BlessedGold = EnumHelper.addToolMaterial("Blessed Gold", 0, 0, 0F, 0, 0);
|
||||
BlessedIron = EnumHelper.addToolMaterial("Blessed Iron", 0, 0, 0F, 0, 0);
|
||||
BlessedStone = EnumHelper.addToolMaterial("Blessed Stone", 0, 0, 0F, 0, 0);
|
||||
BlessedWood = EnumHelper.addToolMaterial("Blessed Wood", 0, 0, 0F, 0, 0);
|
||||
|
||||
//Telling forge that we are creating stuff
|
||||
|
||||
// Tainted Swords
|
||||
Item TaintedDiamondSword;{
|
||||
//Create Item + Picture
|
||||
TaintedDiamondSword = new TaintedDiamondSword(560, TaintedDiamond).setUnlocalizedName("Tainted_Sword_Diamond");
|
||||
TaintedDiamondSword = new TaintedDiamondSword(560, TaintedDiamond).setUnlocalizedName("Tainted_Sword_Diamond").setTextureName("divine_equipment:Tainted_Sword_Diamond");
|
||||
LanguageRegistry.addName(TaintedDiamondSword, "Tainted Diamond Sword");
|
||||
}
|
||||
Item TaintedGoldSword;{
|
||||
TaintedGoldSword = new TaintedGoldSword(561, TaintedGold).setUnlocalizedName("Tainted_Sword_Gold");
|
||||
TaintedGoldSword = new TaintedGoldSword(561, TaintedGold).setUnlocalizedName("Tainted_Sword_Gold").setTextureName("divine_equipment:Tainted_Sword_Gold");
|
||||
LanguageRegistry.addName(TaintedGoldSword, "Tainted Gold Sword");
|
||||
}
|
||||
Item TaintedIronSword;{
|
||||
TaintedIronSword = new TaintedIronSword(562, TaintedIron).setUnlocalizedName("Tainted_Sword_Iron");
|
||||
TaintedIronSword = new TaintedIronSword(562, TaintedIron).setUnlocalizedName("Tainted_Sword_Iron").setTextureName("divine_equipment:Tainted_Sword_Iron");
|
||||
LanguageRegistry.addName(TaintedIronSword, "Tainted Iron Sword");
|
||||
}
|
||||
Item TaintedStoneSword;{
|
||||
TaintedStoneSword = new TaintedStoneSword(563, TaintedStone).setUnlocalizedName("Tainted_Sword_Stone");
|
||||
TaintedStoneSword = new TaintedStoneSword(563, TaintedStone).setUnlocalizedName("Tainted_Sword_Stone").setTextureName("divine_equipment:Tainted_Sword_Stone");
|
||||
LanguageRegistry.addName(TaintedStoneSword, "Tainted Stone Sword");
|
||||
}
|
||||
// Item TaintedWoodSword;{}
|
||||
|
||||
}
|
||||
}
|
||||
// Blessed Swords
|
||||
Item BlessedDiamondSword;{
|
||||
//Create Item + Picture
|
||||
BlessedDiamondSword = new BlessedDiamondSword(555, BlessedDiamond).setUnlocalizedName("Blessed_Sword_Diamond").setTextureName("divine_equipment:Blessed_Sword_Diamond");
|
||||
LanguageRegistry.addName(BlessedDiamondSword, "Blessed Diamond Sword");
|
||||
}
|
||||
Item BlessedGoldSword;{
|
||||
BlessedGoldSword = new BlessedGoldSword(556, BlessedGold).setUnlocalizedName("Blessed_Sword_Gold").setTextureName("divine_equipment:Blessed_Sword_Gold");
|
||||
LanguageRegistry.addName(BlessedGoldSword, "Blessed Gold Sword");
|
||||
}
|
||||
Item BlessedIronSword;{
|
||||
BlessedIronSword = new BlessedIronSword(557, BlessedIron).setUnlocalizedName("Blessed_Sword_Iron").setTextureName("divine_equipment:Blessed_Sword_Iron");
|
||||
LanguageRegistry.addName(BlessedIronSword, "Blessed Iron Sword");
|
||||
}
|
||||
Item BlessedStoneSword;{
|
||||
BlessedStoneSword = new BlessedStoneSword(558, BlessedStone).setUnlocalizedName("Blessed_Sword_Stone").setTextureName("divine_equipment:Blessed_Sword_Stone");
|
||||
LanguageRegistry.addName(BlessedStoneSword, "Blessed Stone Sword");
|
||||
|
||||
}}}
|
||||
Reference in New Issue
Block a user