Package net.minecraft.world.inventory
Class PlayerEnderChestContainer
java.lang.Object
net.minecraft.world.SimpleContainer
net.minecraft.world.inventory.PlayerEnderChestContainer
- All Implemented Interfaces:
Iterable<ItemStack>,Clearable,Container,StackedContentsCompatible
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.Container
Container.ContainerIterator -
Field Summary
FieldsFields inherited from interface net.minecraft.world.Container
DEFAULT_DISTANCE_BUFFER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanisActiveChest(EnderChestBlockEntity pEnderChest) voidsetActiveChest(EnderChestBlockEntity pEnderChestBlockEntity) voidbooleanstillValid(Player pPlayer) Don't rename this method to canInteractWith due to conflicts with ContainervoidvoidMethods inherited from class net.minecraft.world.SimpleContainer
addItem, addListener, canAddItem, clearContent, fillStackedContents, fromItemList, getContainerSize, getItem, getItems, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, setChanged, setItem, storeAsItemList, 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, iteratorMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
activeChest
-
-
Constructor Details
-
PlayerEnderChestContainer
public PlayerEnderChestContainer()
-
-
Method Details
-
setActiveChest
-
isActiveChest
-
fromSlots
-
storeAsSlots
-
stillValid
Don't rename this method to canInteractWith due to conflicts with Container- Specified by:
stillValidin interfaceContainer- Overrides:
stillValidin classSimpleContainer
-
startOpen
-
stopOpen
-