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, viewerCountFields inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
lootTableId, lootTableSeedFields 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 voidonInvOpenOrClose()Methods inherited from class net.minecraft.block.entity.ChestBlockEntity
copyInventory, countViewers, createScreenHandler, fromTag, getAnimationProgress, getContainerName, getInvStackList, getPlayersLookingInChestCount, onClose, onOpen, onSyncedBlockEvent, setInvStackList, size, tick, tickViewerCount, toTagMethods inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
canPlayerUse, checkLootInteraction, checkUnlocked, clear, createMenu, deserializeLootTable, getStack, isEmpty, removeStack, removeStack, serializeLootTable, setLootTable, setLootTable, setStackMethods inherited from class net.minecraft.block.entity.LockableContainerBlockEntity
checkUnlocked, getCustomName, getDisplayName, getName, setCustomNameMethods inherited from class net.minecraft.block.entity.BlockEntity
applyMirror, applyRotation, cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markInvalid, markRemoved, populateCrashReport, resetBlock, setLocation, setPos, toInitialChunkDataTag, toUpdatePacketMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.inventory.Inventory
containsAny, count, getMaxCountPerStack, isValid, markDirtyMethods inherited from interface net.minecraft.util.Nameable
hasCustomName
-
Constructor Details
-
TrappedChestBlockEntity
public TrappedChestBlockEntity()
-
-
Method Details
-
onInvOpenOrClose
protected void onInvOpenOrClose()- Overrides:
onInvOpenOrClosein classChestBlockEntity
-