Version 2.4.1 build with forge 1.3.3.12
This commit is contained in:
parent
2b87f68da5
commit
0c3e0e7a0b
|
@ -13,8 +13,8 @@
|
|||
</description>
|
||||
|
||||
<property name="modname" value="mod_ironchests" />
|
||||
<property name="version" value="2.4" />
|
||||
<property name="mcp.home" location="/home/cpw/minecraft1dev/forge1.31" />
|
||||
<property name="version" value="2.4.1" />
|
||||
<property name="mcp.home" location="/home/cpw/minecraft1dev/forge1.3.3.12" />
|
||||
<property name="mcp.obfoutput" location="${mcp.home}/reobf" />
|
||||
<property name="client.mcp.obfoutput" location="${mcp.obfoutput}/minecraft" />
|
||||
<property name="server.mcp.obfoutput" location="${mcp.obfoutput}/minecraft_server" />
|
||||
|
|
|
@ -174,7 +174,7 @@ public class BlockIronChest extends BlockContainer implements ITextureProvider,
|
|||
entityitem.motionZ = (float)random.nextGaussian() * f3;
|
||||
if (itemstack.hasTagCompound())
|
||||
{
|
||||
mod_IronChest.proxy.applyExtraDataToDrops(entityitem, (NBTTagCompound)itemstack.getTagCompound().cloneTag());
|
||||
mod_IronChest.proxy.applyExtraDataToDrops(entityitem, (NBTTagCompound)itemstack.getTagCompound().copy());
|
||||
}
|
||||
world.spawnEntityInWorld(entityitem);
|
||||
}
|
||||
|
|
|
@ -184,7 +184,7 @@ public class TileEntityIronChest extends TileEntity implements IInventory {
|
|||
NBTTagCompound nbttagcompound1 = new NBTTagCompound();
|
||||
nbttagcompound1.setByte("Slot", (byte)i);
|
||||
chestContents[i].writeToNBT(nbttagcompound1);
|
||||
nbttaglist.setTag(nbttagcompound1);
|
||||
nbttaglist.appendTag(nbttagcompound1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class ServerProxy implements IProxy {
|
|||
|
||||
@Override
|
||||
public void applyExtraDataToDrops(EntityItem entityitem, NBTTagCompound data) {
|
||||
entityitem.item.setNBTData(data);
|
||||
entityitem.item.setTagCompound(data);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue