Package net.minecraft.world.inventory
Class PlayerEnderChestContainer
java.lang.Object
net.minecraft.world.SimpleContainer
net.minecraft.world.inventory.PlayerEnderChestContainer
- All Implemented Interfaces:
Clearable,Container,StackedContentsCompatible
-
Field Summary
FieldsFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTag(HolderLookup.Provider p_330801_) voidfromTag(ListTag p_40108_, HolderLookup.Provider p_330977_) booleanisActiveChest(EnderChestBlockEntity pEnderChest) voidsetActiveChest(EnderChestBlockEntity pEnderChestBlockEntity) voidbooleanstillValid(Player pPlayer) Don't rename this method to canInteractWith due to conflicts with ContainervoidMethods inherited from class net.minecraft.world.SimpleContainer
addItem, addListener, canAddItem, clearContent, fillStackedContents, getContainerSize, getItem, getItems, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, setChanged, setItem, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getMaxStackSize, getMaxStackSize, hasAnyMatching, hasAnyOf
-
Field Details
-
activeChest
-
-
Constructor Details
-
PlayerEnderChestContainer
public PlayerEnderChestContainer()
-
-
Method Details
-
setActiveChest
-
isActiveChest
-
fromTag
- Overrides:
fromTagin classSimpleContainer
-
createTag
- Overrides:
createTagin classSimpleContainer
-
stillValid
Don't rename this method to canInteractWith due to conflicts with Container- Specified by:
stillValidin interfaceContainer- Overrides:
stillValidin classSimpleContainer
-
startOpen
-
stopOpen
-