Package net.minecraft.inventory
Class EnderChestInventory
java.lang.Object
net.minecraft.inventory.SimpleInventory
net.minecraft.inventory.EnderChestInventory
- All Implemented Interfaces:
Inventory
,RecipeInputProvider
,Clearable
public class EnderChestInventory extends SimpleInventory
-
Field Summary
Fields Modifier and Type Field Description private EnderChestBlockEntity
activeBlockEntity
-
Constructor Summary
Constructors Constructor Description EnderChestInventory()
-
Method Summary
Modifier and Type Method 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)
Methods inherited from class net.minecraft.inventory.SimpleInventory
addListener, addStack, canInsert, clear, clearToList, getStack, isEmpty, markDirty, provideRecipeInputs, removeItem, removeListener, removeStack, removeStack, setStack, size, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.inventory.Inventory
containsAny, count, getMaxCountPerStack, isValid
-
Field Details
-
activeBlockEntity
-
-
Constructor Details
-
EnderChestInventory
public EnderChestInventory()
-
-
Method Details
-
setActiveBlockEntity
-
method_31556
-
readTags
- Overrides:
readTags
in classSimpleInventory
-
getTags
- Overrides:
getTags
in classSimpleInventory
-
canPlayerUse
- Specified by:
canPlayerUse
in interfaceInventory
- Overrides:
canPlayerUse
in classSimpleInventory
-
onOpen
-
onClose
-