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 EnderChestBlockEntityactiveBlockEntity -
Constructor Summary
Constructors Constructor Description EnderChestInventory() -
Method Summary
Modifier and Type Method Description booleancanPlayerUse(PlayerEntity player)ListTaggetTags()booleanmethod_31556(EnderChestBlockEntity enderChestBlockEntity)voidonClose(PlayerEntity player)voidonOpen(PlayerEntity player)voidreadTags(ListTag tags)voidsetActiveBlockEntity(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
readTagsin classSimpleInventory
-
getTags
- Overrides:
getTagsin classSimpleInventory
-
canPlayerUse
- Specified by:
canPlayerUsein interfaceInventory- Overrides:
canPlayerUsein classSimpleInventory
-
onOpen
-
onClose
-