mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 18:22:08 -07:00
@@ -44,7 +44,7 @@
|
||||
public TileEntityChest(BlockChest.Type blockchest_type) {
|
||||
this.q = blockchest_type;
|
||||
}
|
||||
@@ -123,10 +153,11 @@
|
||||
@@ -127,10 +157,11 @@
|
||||
}
|
||||
|
||||
public int getMaxStackSize() {
|
||||
@@ -57,7 +57,7 @@
|
||||
return this.world.getTileEntity(this.position) != this ? false : entityhuman.e((double) this.position.getX() + 0.5D, (double) this.position.getY() + 0.5D, (double) this.position.getZ() + 0.5D) <= 64.0D;
|
||||
}
|
||||
|
||||
@@ -303,9 +334,21 @@
|
||||
@@ -307,9 +338,21 @@
|
||||
if (this.l < 0) {
|
||||
this.l = 0;
|
||||
}
|
||||
@@ -79,7 +79,7 @@
|
||||
this.world.applyPhysics(this.position, this.getBlock());
|
||||
this.world.applyPhysics(this.position.down(), this.getBlock());
|
||||
}
|
||||
@@ -314,8 +357,20 @@
|
||||
@@ -318,8 +361,20 @@
|
||||
|
||||
public void closeContainer(EntityHuman entityhuman) {
|
||||
if (!entityhuman.isSpectator() && this.getBlock() instanceof BlockChest) {
|
||||
@@ -100,7 +100,7 @@
|
||||
this.world.applyPhysics(this.position, this.getBlock());
|
||||
this.world.applyPhysics(this.position.down(), this.getBlock());
|
||||
}
|
||||
@@ -372,6 +427,13 @@
|
||||
@@ -376,6 +431,13 @@
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user