@@ -48,7 +48,7 @@
|
||||
protected TileEntityChest(TileEntityTypes<?> tileentitytypes) {
|
||||
super(tileentitytypes);
|
||||
this.items = NonNullList.a(27, ItemStack.a);
|
||||
@@ -172,8 +206,20 @@
|
||||
@@ -155,8 +189,20 @@
|
||||
if (this.viewingCount < 0) {
|
||||
this.viewingCount = 0;
|
||||
}
|
||||
@@ -69,7 +69,7 @@
|
||||
this.onOpen();
|
||||
}
|
||||
|
||||
@@ -182,7 +228,18 @@
|
||||
@@ -165,7 +211,18 @@
|
||||
@Override
|
||||
public void closeContainer(EntityHuman entityhuman) {
|
||||
if (!entityhuman.isSpectator()) {
|
||||
@@ -88,7 +88,7 @@
|
||||
this.onOpen();
|
||||
}
|
||||
|
||||
@@ -233,4 +290,11 @@
|
||||
@@ -216,4 +273,11 @@
|
||||
protected Container createContainer(int i, PlayerInventory playerinventory) {
|
||||
return ContainerChest.a(i, playerinventory, this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user