mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Update to Minecraft Server 1.2
This commit is contained in:
@@ -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)));
|
||||
|
Reference in New Issue
Block a user