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() |
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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
containsAny, count, getMaxCountPerStack, isValid
private EnderChestBlockEntity activeBlockEntity
public void setActiveBlockEntity(EnderChestBlockEntity blockEntity)
public void readTags(ListTag tags)
readTags
in class SimpleInventory
public ListTag getTags()
getTags
in class SimpleInventory
public boolean canPlayerUse(PlayerEntity player)
canPlayerUse
in interface Inventory
canPlayerUse
in class SimpleInventory
public void onOpen(PlayerEntity player)
public void onClose(PlayerEntity player)