public class EnderChestInventory extends SimpleInventory
| Modifier and Type | Field and Description |
|---|---|
private EnderChestBlockEntity |
activeBlockEntity |
| Constructor and Description |
|---|
EnderChestInventory() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPlayerUse(PlayerEntity player) |
ListTag |
getTags() |
boolean |
method_31556(EnderChestBlockEntity enderChestBlockEntity) |
void |
onClose(PlayerEntity player) |
void |
onOpen(PlayerEntity player) |
void |
readTags(ListTag tags) |
void |
setActiveBlockEntity(EnderChestBlockEntity blockEntity) |
addListener, addStack, canInsert, clear, clearToList, getStack, isEmpty, markDirty, provideRecipeInputs, removeItem, removeListener, removeStack, removeStack, setStack, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsAny, count, getMaxCountPerStack, isValid@Nullable private EnderChestBlockEntity activeBlockEntity
public void setActiveBlockEntity(EnderChestBlockEntity blockEntity)
public boolean method_31556(EnderChestBlockEntity enderChestBlockEntity)
public void readTags(ListTag tags)
readTags in class SimpleInventorypublic ListTag getTags()
getTags in class SimpleInventorypublic boolean canPlayerUse(PlayerEntity player)
canPlayerUse in interface InventorycanPlayerUse in class SimpleInventorypublic void onOpen(PlayerEntity player)
public void onClose(PlayerEntity player)