Added Class Files for All Weapons, Orginzied the Main Class a bit.
This commit is contained in:
@@ -6,16 +6,10 @@ package divine_equipment;
|
||||
|
||||
import cpw.mods.fml.common.Mod;
|
||||
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;
|
||||
import divine_equipment.items.*;
|
||||
import divine_equipment.client.*;
|
||||
import divine_equipment.common.*;
|
||||
import net.minecraft.item.EnumArmorMaterial;
|
||||
import net.minecraft.item.EnumToolMaterial;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraftforge.common.EnumHelper;
|
||||
@@ -29,8 +23,8 @@ public class 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;
|
||||
// @SidedProxy(clientSide = "divine_equipment.client.ClientProxy", serverSide = "divine_equipment.common.CommonProxy")
|
||||
// public static CommonProxy proxy;
|
||||
|
||||
public static String imageFolder = "resources/textures";
|
||||
|
||||
@@ -70,11 +64,11 @@ public class Divine_Equipment
|
||||
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);
|
||||
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, 75, 6.0F, 3, 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)
|
||||
|
||||
@@ -85,14 +79,26 @@ public class Divine_Equipment
|
||||
BlessedWood = addToolMaterial("Blessed Wood", 0, 0, 0F, 0, 0);
|
||||
|
||||
//Telling forge that we are creating stuff
|
||||
|
||||
// Tainted Swords
|
||||
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");
|
||||
}
|
||||
//Create Item + Picture
|
||||
TaintedDiamondSword = new TaintedDiamondSword(560, TaintedDiamond).setUnlocalizedName("Tainted_Sword_Diamond");
|
||||
LanguageRegistry.addName(TaintedDiamondSword, "Tainted Diamond Sword");
|
||||
}
|
||||
Item TaintedGoldSword;{
|
||||
TaintedGoldSword = new TaintedGoldSword(561, TaintedGold).setUnlocalizedName("Tainted_Sword_Gold");
|
||||
LanguageRegistry.addName(TaintedGoldSword, "Tainted Gold Sword");
|
||||
}
|
||||
Item TaintedIronSword;{
|
||||
TaintedIronSword = new TaintedIronSword(562, TaintedIron).setUnlocalizedName("Tainted_Sword_Iron");
|
||||
LanguageRegistry.addName(TaintedIronSword, "Tainted Iron Sword");
|
||||
}
|
||||
Item TaintedStoneSword;{
|
||||
TaintedStoneSword = new TaintedStoneSword(563, TaintedStone).setUnlocalizedName("Tainted_Sword_Stone");
|
||||
LanguageRegistry.addName(TaintedStoneSword, "Tainted Stone Sword");
|
||||
}
|
||||
Item TaintedWoodSword;{}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user