Added Class Files for All Weapons, Orginzied the Main Class a bit.
14
mcmod.info
Normal file
@@ -0,0 +1,14 @@
|
||||
[{
|
||||
"modid": "Divine_Equipment",
|
||||
"name": "Divine Equipment",
|
||||
"description": "This mod adds Holy and Unholy Equipment as well as Ender Infused Equipment",
|
||||
"version": "@VERSION@",
|
||||
"logoFile": "",
|
||||
"mcversion": "1.6.4",
|
||||
"url": "https://bitbucket.org/0rthus/divine-weaponary",
|
||||
"updateUrl": "",
|
||||
"authors": ["Zackyd666"],
|
||||
"parent": "",
|
||||
"screenshots": "",
|
||||
"dependencies": "mod_MinecraftForge"
|
||||
}]
|
||||
@@ -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;{}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 446 B |
|
After Width: | Height: | Size: 513 B |
|
After Width: | Height: | Size: 469 B |
|
After Width: | Height: | Size: 504 B |
@@ -0,0 +1 @@
|
||||
These texture files are currently place holders.
|
||||
|
After Width: | Height: | Size: 503 B |
|
After Width: | Height: | Size: 467 B |
|
After Width: | Height: | Size: 460 B |
|
After Width: | Height: | Size: 474 B |
18
src/divine_equipment/items/TaintedGoldSword.java
Normal file
@@ -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 TaintedGoldSword extends ItemSword {
|
||||
public TaintedGoldSword(int par1, EnumToolMaterial EMERALD){
|
||||
super(par1, EMERALD);
|
||||
setCreativeTab(CreativeTabs.tabCombat);
|
||||
}
|
||||
}
|
||||
18
src/divine_equipment/items/TaintedIronSword.java
Normal file
@@ -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/30/13
|
||||
*/
|
||||
public class TaintedIronSword extends ItemSword {
|
||||
public TaintedIronSword(int par1, EnumToolMaterial EMERALD){
|
||||
super(par1, EMERALD);
|
||||
setCreativeTab(CreativeTabs.tabCombat);
|
||||
}
|
||||
}
|
||||
18
src/divine_equipment/items/TaintedStoneSword.java
Normal file
@@ -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/30/13
|
||||
*/
|
||||
public class TaintedStoneSword extends ItemSword {
|
||||
public TaintedStoneSword(int par1, EnumToolMaterial EMERALD){
|
||||
super(par1, EMERALD);
|
||||
setCreativeTab(CreativeTabs.tabCombat);
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,17 @@
|
||||
[{
|
||||
"modid": "divine_equipment",
|
||||
"name": "Divine Equipment",
|
||||
"description": "This mod adds Holy and Unholy Equipment as well as Ender Infused Equipment",
|
||||
"version": "@VERSION@",
|
||||
"logoFile": "",
|
||||
"mcversion": "1.6.4",
|
||||
"url": "https://bitbucket.org/0rthus/divine-weaponary",
|
||||
"updateUrl": "",
|
||||
"authors": ["Zackyd666"],
|
||||
"parent": "",
|
||||
"screenshots": "",
|
||||
"dependencies": "mod_MinecraftForge"
|
||||
}]
|
||||
[
|
||||
{
|
||||
"modid": "divine_equipment",
|
||||
"name": "Divine Equipment",
|
||||
"description": "This mod adds Holy and Unholy Equipment as well as Ender Infused Equipment",
|
||||
"version": "@VERSION@",
|
||||
"mcversion": "@MCVERSION",
|
||||
"url": "https://bitbucket.org/0rthus/divine-weaponary",
|
||||
"updateUrl": "",
|
||||
"authors": ["Zackyd666"],
|
||||
"credits": "Test",
|
||||
"logoFile": "",
|
||||
"parent": "",
|
||||
"screenshots": "[]",
|
||||
"dependencies": "[]"
|
||||
}
|
||||
]
|
||||
|
After Width: | Height: | Size: 446 B |
|
After Width: | Height: | Size: 513 B |
|
After Width: | Height: | Size: 469 B |
|
After Width: | Height: | Size: 504 B |
|
After Width: | Height: | Size: 503 B |
|
After Width: | Height: | Size: 467 B |
|
After Width: | Height: | Size: 460 B |
|
After Width: | Height: | Size: 474 B |