Class PlayerEnderChestContainer
java.lang.Object
net.minecraft.world.SimpleContainer
net.minecraft.world.inventory.PlayerEnderChestContainer
- All Implemented Interfaces:
Iterable<ItemStack>, Clearable, Container, SlotProvider, StackedContentsCompatible, ContainerExtension
-
Nested Class Summary
Nested classes/interfaces inherited from interface Container
Container.ContainerIterator -
Field Summary
FieldsFields inherited from interface Container
DEFAULT_DISTANCE_BUFFER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanvoidsetActiveChest(EnderChestBlockEntity activeChest) voidstartOpen(ContainerUser containerUser) booleanstillValid(Player player) Don't rename this method to canInteractWith due to conflicts with ContainervoidstopOpen(ContainerUser containerUser) voidMethods inherited from class SimpleContainer
addItem, canAddItem, clearContent, fillStackedContents, fromItemList, getContainerSize, getItem, getItems, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, setChanged, setItem, setItem, storeAsItemList, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Container
canPlaceItem, canTakeItem, countItem, getEntitiesWithContainerOpen, getMaxStackSize, getMaxStackSize, getSlot, hasAnyMatching, hasAnyOf, iteratorMethods inherited from interface ContainerExtension
onTransferMethods inherited from interface Iterable
forEach, spliteratorMethods inherited from interface SlotProvider
getSlotsFromRange
-
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
-