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,SlotProvider,StackedContentsCompatible,ContainerExtension
-
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) voidstartOpen(ContainerUser p_435470_) booleanstillValid(Player pPlayer) Don't rename this method to canInteractWith due to conflicts with ContainervoidstopOpen(ContainerUser p_435096_) voidMethods inherited from class net.minecraft.world.SimpleContainer
addItem, addListener, canAddItem, clearContent, fillStackedContents, fromItemList, getContainerSize, getItem, getItems, isEmpty, removeAllItems, removeItem, removeItemNoUpdate, removeItemType, removeListener, setChanged, setItem, 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, getEntitiesWithContainerOpen, getMaxStackSize, getMaxStackSize, getSlot, hasAnyMatching, hasAnyOf, iteratorMethods inherited from interface net.neoforged.neoforge.common.extensions.ContainerExtension
onTransferMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface net.minecraft.world.entity.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
-