Package net.minecraft.block.entity
Class TrappedChestBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.LockableContainerBlockEntity
net.minecraft.block.entity.LootableContainerBlockEntity
net.minecraft.block.entity.ChestBlockEntity
net.minecraft.block.entity.TrappedChestBlockEntity
- All Implemented Interfaces:
ChestAnimationProgress
,Inventory
,NamedScreenHandlerFactory
,ScreenHandlerFactory
,Clearable
,Nameable
,Tickable
public class TrappedChestBlockEntity extends ChestBlockEntity
-
Field Summary
Fields inherited from class net.minecraft.block.entity.ChestBlockEntity
animationAngle, lastAnimationAngle, viewerCount
Fields inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
lootTableId, lootTableSeed
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
Constructors Constructor Description TrappedChestBlockEntity()
-
Method Summary
Modifier and Type Method Description protected void
onInvOpenOrClose()
Methods inherited from class net.minecraft.block.entity.ChestBlockEntity
copyInventory, countViewers, createScreenHandler, fromTag, getAnimationProgress, getContainerName, getInvStackList, getPlayersLookingInChestCount, onClose, onOpen, onSyncedBlockEvent, setInvStackList, size, tick, tickViewerCount, toTag
Methods inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
canPlayerUse, checkLootInteraction, checkUnlocked, clear, createMenu, deserializeLootTable, getStack, isEmpty, removeStack, removeStack, serializeLootTable, setLootTable, setLootTable, setStack
Methods inherited from class net.minecraft.block.entity.LockableContainerBlockEntity
checkUnlocked, getCustomName, getDisplayName, getName, setCustomName
Methods inherited from class net.minecraft.block.entity.BlockEntity
applyMirror, applyRotation, cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markInvalid, markRemoved, populateCrashReport, resetBlock, setLocation, setPos, toInitialChunkDataTag, toUpdatePacket
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.inventory.Inventory
containsAny, count, getMaxCountPerStack, isValid, markDirty
Methods inherited from interface net.minecraft.util.Nameable
hasCustomName
-
Constructor Details
-
TrappedChestBlockEntity
public TrappedChestBlockEntity()
-
-
Method Details
-
onInvOpenOrClose
protected void onInvOpenOrClose()- Overrides:
onInvOpenOrClose
in classChestBlockEntity
-