public class TrappedChestBlockEntity extends ChestBlockEntity
lootTableId, lootTableSeedpos, removed, world| Constructor and Description |
|---|
TrappedChestBlockEntity(BlockPos pos,
BlockState state) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onInvOpenOrClose(World world,
BlockPos pos,
BlockState state,
int oldViewerCount,
int newViewerCount) |
clientTick, copyInventory, createScreenHandler, fromTag, getAnimationProgress, getContainerName, getInvStackList, getPlayersLookingInChestCount, onClose, onOpen, onScheduledTick, onSyncedBlockEvent, setInvStackList, size, toTagcanPlayerUse, checkLootInteraction, checkUnlocked, clear, createMenu, deserializeLootTable, getStack, isEmpty, removeStack, removeStack, serializeLootTable, setLootTable, setLootTable, setStackcheckUnlocked, getCustomName, getDisplayName, getName, setCustomNamecancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, setCachedState, setWorld, toInitialChunkDataTag, toUpdatePacketclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsAny, count, getMaxCountPerStack, isValid, markDirtyhasCustomNamepublic TrappedChestBlockEntity(BlockPos pos, BlockState state)
protected void onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
onInvOpenOrClose in class ChestBlockEntity