Update to Minecraft Server 1.2

This commit is contained in:
Dinnerbone
2011-01-14 13:31:10 +00:00
parent e6e50ddf9b
commit 2761b59845
55 changed files with 1219 additions and 1064 deletions

View File

@@ -14,7 +14,7 @@ public class BlockJukeBox extends Block {
}
public int a(int i) {
return bg + (i != 1 ? 0 : 1);
return bh + (i != 1 ? 0 : 1);
}
public boolean a(World world, int i, int j, int k, EntityPlayer entityplayer) {
@@ -40,13 +40,13 @@ public class BlockJukeBox extends Block {
public void f(World world, int i, int j, int k, int l) {
world.a(((String) (null)), i, j, k);
world.b(i, j, k, 0);
int i1 = (Item.aU.aW + l) - 1;
world.c(i, j, k, 0);
int i1 = (Item.aY.ba + l) - 1;
float f1 = 0.7F;
double d = (double) (world.l.nextFloat() * f1) + (double) (1.0F - f1) * 0.5D;
double d1 = (double) (world.l.nextFloat() * f1) + (double) (1.0F - f1) * 0.20000000000000001D + 0.59999999999999998D;
double d2 = (double) (world.l.nextFloat() * f1) + (double) (1.0F - f1) * 0.5D;
EntityItem entityitem = new EntityItem(world, (double) i + d, (double) j + d1, (double) k + d2, new ItemStack(i1));
EntityItem entityitem = new EntityItem(world, (double) i + d, (double) j + d1, (double) k + d2, new ItemStack(i1, 1, 0));
entityitem.c = 10;
world.a(((Entity) (entityitem)));