public class EnderChestInventory extends BasicInventory
| 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() |
void |
onClose(PlayerEntity player) |
void |
onOpen(PlayerEntity player) |
void |
readTags(ListTag tags) |
void |
setActiveBlockEntity(EnderChestBlockEntity blockEntity) |
addListener, addStack, clear, clearToList, getStack, isEmpty, markDirty, method_27070, provideRecipeInputs, removeItem, removeListener, removeStack, removeStack, setStack, size, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsAny, count, getMaxCountPerStack, isValidprivate EnderChestBlockEntity activeBlockEntity
public void setActiveBlockEntity(EnderChestBlockEntity blockEntity)
public void readTags(ListTag tags)
readTags in class BasicInventorypublic ListTag getTags()
getTags in class BasicInventorypublic boolean canPlayerUse(PlayerEntity player)
canPlayerUse in interface InventorycanPlayerUse in class BasicInventorypublic void onOpen(PlayerEntity player)
public void onClose(PlayerEntity player)