Updated to rename revision 02

This commit is contained in:
Erik Broes
2012-02-29 22:31:04 +01:00
committed by Nathan Adams
parent 8524ff8ef7
commit 33ba9f0a2f
100 changed files with 772 additions and 761 deletions

View File

@@ -80,7 +80,7 @@ public final class ItemStack {
}
public boolean placeItem(EntityHuman entityhuman, World world, int i, int j, int k, int l) {
boolean flag = this.getItem().a(this, entityhuman, world, i, j, k, l);
boolean flag = this.getItem().interactWith(this, entityhuman, world, i, j, k, l);
if (flag) {
entityhuman.a(StatisticList.E[this.id], 1);
@@ -101,7 +101,7 @@ public final class ItemStack {
return this.getItem().b(this, world, entityhuman);
}
public NBTTagCompound b(NBTTagCompound nbttagcompound) {
public NBTTagCompound save(NBTTagCompound nbttagcompound) {
nbttagcompound.setShort("id", (short) this.id);
nbttagcompound.setByte("Count", (byte) this.count);
nbttagcompound.setShort("Damage", (short) this.damage);
@@ -205,7 +205,7 @@ public final class ItemStack {
}
public boolean b(Block block) {
return Item.byId[this.id].a(block);
return Item.byId[this.id].canDestroySpecialBlock(block);
}
public void a(EntityHuman entityhuman) {}