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, 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 BasicInventory
public ListTag getTags()
getTags
in class BasicInventory
public boolean canPlayerUse(PlayerEntity player)
canPlayerUse
in interface Inventory
canPlayerUse
in class BasicInventory
public void onOpen(PlayerEntity player)
public void onClose(PlayerEntity player)