Forge Hammer Fix

This commit is contained in:
KitsuShadow
2016-01-24 19:59:45 -05:00
parent 3753f6a1df
commit 5ba327799f
6 changed files with 68 additions and 64 deletions

View File

@@ -3,7 +3,7 @@
"modid": "kitsumedievalcraft",
"name": "ForgeCraft",
"description": "ForgeCraft",
"version": "{2.3.0}",
"version": "{2.3.1}",
"mcversion": "{1.7.10}",
"url": "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/2296334-wip-kitsus-forgecraft-blacksmith-style-forging",
"updateUrl": "https://bitbucket.org/kitsushadow/kitsus-forgecraft/downloads",

View File

@@ -55,7 +55,7 @@ public class Main {
public static final String MODID = "kitsumedievalcraft";
public static final String MODNAME = "ForgeCraft";
public static final String VERSION = "2.3.0";
public static final String VERSION = "2.3.1";
public static SimpleNetworkWrapper sNet;

View File

@@ -187,7 +187,11 @@ public class ForgeHammer extends Item implements AnvilUtil{
}
}
}
}
}
//MAKE FORMS
if((block instanceof IngotBase)&&(block==ModBlocks.ironPlate)){
TileIngotBase tile = (TileIngotBase) world.getTileEntity(x, y, z);
if(tileEnt.getStackInSlot(0)!= null){
if((makeForms.containsKey(tileEnt.getStackInSlot(0).getItem())==true)){
if((tile.hot == true)&&(block==ModBlocks.ironPlate)){
@@ -210,7 +214,7 @@ public class ForgeHammer extends Item implements AnvilUtil{
}
}
}
}
/*
* ItemStack gladius0 = new ItemStack(ModItems.gladius);
gladius0.stackTagCompound = new NBTTagCompound();

View File

@@ -3,7 +3,7 @@
"modid": "kitsumedievalcraft",
"name": "ForgeCraft",
"description": "ForgeCraft",
"version": "{2.3.0}",
"version": "{2.3.1}",
"mcversion": "{1.7.10}",
"url": "http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/2296334-wip-kitsus-forgecraft-blacksmith-style-forging",
"updateUrl": "https://bitbucket.org/kitsushadow/kitsus-forgecraft/downloads",