diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/ItemBucket.java')
-rw-r--r-- | src/main/java/net/minecraft/server/ItemBucket.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/net/minecraft/server/ItemBucket.java b/src/main/java/net/minecraft/server/ItemBucket.java index d9478fa6..8944b8e6 100644 --- a/src/main/java/net/minecraft/server/ItemBucket.java +++ b/src/main/java/net/minecraft/server/ItemBucket.java @@ -18,8 +18,8 @@ public class ItemBucket extends Item { public ItemBucket(int i, int j) { super(i); - aX = 1; - aY = 64; + bb = 1; + bc = 64; a = j; } @@ -45,7 +45,7 @@ public class ItemBucket extends Item { if (movingobjectposition == null) { return itemstack; } - if (movingobjectposition.a == 0) { + if (movingobjectposition.a == EnumMovingObjectType.a) { int i = movingobjectposition.b; int j = movingobjectposition.c; int k = movingobjectposition.d; @@ -72,7 +72,7 @@ public class ItemBucket extends Item { return itemstack; } // CraftBukkit end - world.d(i, j, k, 0); + world.e(i, j, k, 0); return new ItemStack(Item.av); } if (world.c(i, j, k) == Material.g && world.b(i, j, k) == 0) { @@ -84,7 +84,7 @@ public class ItemBucket extends Item { return itemstack; } // CraftBukkit end - world.d(i, j, k, 0); + world.e(i, j, k, 0); return new ItemStack(Item.aw); } } else { @@ -110,7 +110,7 @@ public class ItemBucket extends Item { i++; } if (world.e(i, j, k) || !world.c(i, j, k).a()) { - if (world.q.d && a == Block.A.bh) { + if (world.q.d && a == Block.A.bi) { world.a(d + 0.5D, d1 + 0.5D, d2 + 0.5D, "random.fizz", 0.5F, 2.6F + (world.l.nextFloat() - world.l.nextFloat()) * 0.8F); for (int l = 0; l < 8; l++) { world.a("largesmoke", (double) i + Math.random(), (double) j + Math.random(), (double) k + Math.random(), 0.0D, 0.0D, 0.0D); |