V.01 Source Update
15
Divine Weaponary.iml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="JAVA_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||||
|
<exclude-output />
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/common" isTestSource="false" />
|
||||||
|
<sourceFolder url="file://$MODULE_DIR$/resources" isTestSource="false" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="inheritedJdk" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="module" module-name="minecaft" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
|
|
||||||
57
src/divine_equipment/Divine_Equipment.java
Normal file
@@ -0,0 +1,57 @@
|
|||||||
|
/**
|
||||||
|
* Author: Orthus
|
||||||
|
* Date: 9/29/13
|
||||||
|
*/
|
||||||
|
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.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;
|
||||||
|
|
||||||
|
import static net.minecraftforge.common.EnumHelper.addToolMaterial;
|
||||||
|
|
||||||
|
@Mod(modid = "DEquipment", name = "Divine Equipment",version = "v0.1")
|
||||||
|
@NetworkMod(clientSideRequired = true, serverSideRequired = false, channels = { "DEquipment" })
|
||||||
|
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;
|
||||||
|
|
||||||
|
public static String imageFolder = "resources/textures";
|
||||||
|
|
||||||
|
// Init all new Tool materials
|
||||||
|
EnumToolMaterial TaintedDiamond;
|
||||||
|
EnumToolMaterial TaintedIron;
|
||||||
|
|
||||||
|
@Mod.EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
|
||||||
|
TaintedDiamond = addToolMaterial("TaintedDiamond", 3, 468, 3, par4, );
|
||||||
|
TaintedIron = addToolMaterial("Tainted Iron", 2, 75, 2, par4);
|
||||||
|
|
||||||
|
//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");
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Item ItemTSword;
|
||||||
|
|
||||||
|
}
|
||||||
8
src/divine_equipment/client/ClientProxy.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package divine_equipment.client;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: Orthus
|
||||||
|
* Date: 9/29/13
|
||||||
|
*/
|
||||||
|
public class ClientProxy {
|
||||||
|
}
|
||||||
8
src/divine_equipment/common/CommonProxy.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package divine_equipment.common;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: Orthus
|
||||||
|
* Date: 9/30/13
|
||||||
|
*/
|
||||||
|
public class CommonProxy {
|
||||||
|
}
|
||||||
8
src/divine_equipment/items/BlessedDiamond.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package divine_equipment.items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: Orthus
|
||||||
|
* Date: 9/30/13
|
||||||
|
*/
|
||||||
|
public class BlessedDiamond {
|
||||||
|
}
|
||||||
8
src/divine_equipment/items/BlessedGold.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package divine_equipment.items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: Orthus
|
||||||
|
* Date: 9/30/13
|
||||||
|
*/
|
||||||
|
public class BlessedGold {
|
||||||
|
}
|
||||||
8
src/divine_equipment/items/BlessedIron.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package divine_equipment.items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: Orthus
|
||||||
|
* Date: 9/30/13
|
||||||
|
*/
|
||||||
|
public class BlessedIron {
|
||||||
|
}
|
||||||
8
src/divine_equipment/items/BlessedStone.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package divine_equipment.items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: Orthus
|
||||||
|
* Date: 9/30/13
|
||||||
|
*/
|
||||||
|
public class BlessedStone {
|
||||||
|
}
|
||||||
18
src/divine_equipment/items/ItemBSword.java
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
package divine_equipment.items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Author: Orthus
|
||||||
|
* Date: 9/29/13
|
||||||
|
*/
|
||||||
|
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
|
||||||
|
public class ItemBSword extends Item {
|
||||||
|
public ItemBSword(int id) {
|
||||||
|
super(id);
|
||||||
|
// Constructor Configuration
|
||||||
|
setMaxStackSize(1);
|
||||||
|
setCreativeTab(CreativeTabs.tabMisc);
|
||||||
|
setUnlocalizedName("genericItem");
|
||||||
|
}}
|
||||||
18
src/divine_equipment/items/ItemTSword.java
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
package divine_equipment.items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Author: Orthus
|
||||||
|
* Date: 9/29/13
|
||||||
|
*/
|
||||||
|
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
|
||||||
|
public class ItemTSword extends Item {
|
||||||
|
public ItemTSword(int id) {
|
||||||
|
super(id);
|
||||||
|
// Constructor Configuration
|
||||||
|
setMaxStackSize(1);
|
||||||
|
setCreativeTab(CreativeTabs.tabMisc);
|
||||||
|
setUnlocalizedName("genericItem");
|
||||||
|
}}
|
||||||
18
src/divine_equipment/items/TDSword.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 TDSword extends ItemSword {
|
||||||
|
public TDSword(int par1, EnumToolMaterial EMERALD ){
|
||||||
|
super(par1, EMERALD);
|
||||||
|
setCreativeTab(CreativeTabs.tabCombat);
|
||||||
|
}
|
||||||
|
}
|
||||||
8
src/divine_equipment/items/TaintedDiamond.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package divine_equipment.items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: Orthus
|
||||||
|
* Date: 9/30/13
|
||||||
|
*/
|
||||||
|
public class TaintedDiamond {
|
||||||
|
}
|
||||||
8
src/divine_equipment/items/TaintedGold.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package divine_equipment.items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: Orthus
|
||||||
|
* Date: 9/30/13
|
||||||
|
*/
|
||||||
|
public class TaintedGold {
|
||||||
|
}
|
||||||
8
src/divine_equipment/items/TaintedIron.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package divine_equipment.items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: Orthus
|
||||||
|
* Date: 9/30/13
|
||||||
|
*/
|
||||||
|
public class TaintedIron {
|
||||||
|
}
|
||||||
8
src/divine_equipment/items/TaintedStone.java
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
package divine_equipment.items;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User: Orthus
|
||||||
|
* Date: 9/30/13
|
||||||
|
*/
|
||||||
|
public class TaintedStone {
|
||||||
|
}
|
||||||
14
src/divine_equipment/resources/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"
|
||||||
|
}]
|
||||||
BIN
src/divine_equipment/resources/textures/items/BSword.Diamond.png
Normal file
|
After Width: | Height: | Size: 446 B |
BIN
src/divine_equipment/resources/textures/items/BSword.Gold.png
Normal file
|
After Width: | Height: | Size: 513 B |
BIN
src/divine_equipment/resources/textures/items/BSword.Iron.png
Normal file
|
After Width: | Height: | Size: 469 B |
BIN
src/divine_equipment/resources/textures/items/BSword.Stone.png
Normal file
|
After Width: | Height: | Size: 504 B |
BIN
src/divine_equipment/resources/textures/items/TSword.Diamond.png
Normal file
|
After Width: | Height: | Size: 503 B |
BIN
src/divine_equipment/resources/textures/items/TSword.Gold.png
Normal file
|
After Width: | Height: | Size: 467 B |
BIN
src/divine_equipment/resources/textures/items/TSword.Iron.png
Normal file
|
After Width: | Height: | Size: 460 B |
BIN
src/divine_equipment/resources/textures/items/TSword.Stone.png
Normal file
|
After Width: | Height: | Size: 474 B |