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 TypeMethodDescriptionvoid
boolean
isActiveChest
(EnderChestBlockEntity pEnderChest) void
setActiveChest
(EnderChestBlockEntity pEnderChestBlockEntity) void
boolean
stillValid
(Player pPlayer) Don't rename this method to canInteractWith due to conflicts with Containervoid
void
Methods 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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.world.Container
canPlaceItem, canTakeItem, countItem, getMaxStackSize, getMaxStackSize, hasAnyMatching, hasAnyOf, iterator
Methods 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:
stillValid
in interfaceContainer
- Overrides:
stillValid
in classSimpleContainer
-
startOpen
-
stopOpen
-