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:
- LidOpenable,- Inventory,- NamedScreenHandlerFactory,- ScreenHandlerFactory,- Clearable,- Nameable
- Mappings:
- Namespace - Name - official - dbe- intermediary - net/minecraft/class_2646- named - net/minecraft/block/entity/TrappedChestBlockEntity
- 
Field SummaryFields inherited from class net.minecraft.block.entity.LootableContainerBlockEntityLOOT_TABLE_KEY, LOOT_TABLE_SEED_KEY, lootTableId, lootTableSeedFields inherited from class net.minecraft.block.entity.BlockEntitypos, removed, worldFields inherited from interface net.minecraft.inventory.Inventoryfield_42619, MAX_COUNT_PER_STACK
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidonViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) Methods inherited from class net.minecraft.block.entity.ChestBlockEntityclientTick, copyInventory, createScreenHandler, getAnimationProgress, getContainerName, getInvStackList, getPlayersLookingInChestCount, onClose, onOpen, onScheduledTick, onSyncedBlockEvent, playSound, readNbt, setInvStackList, size, writeNbtMethods inherited from class net.minecraft.block.entity.LootableContainerBlockEntitycanPlayerUse, checkLootInteraction, checkUnlocked, clear, createMenu, deserializeLootTable, getStack, isEmpty, removeStack, removeStack, serializeLootTable, setLootTable, setLootTable, setStackMethods inherited from class net.minecraft.block.entity.LockableContainerBlockEntitycheckUnlocked, getCustomName, getDisplayName, getName, setCustomNameMethods inherited from class net.minecraft.block.entity.BlockEntitycancelRemoval, copyItemDataRequiresOperator, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, posFromNbt, setCachedState, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, writeIdToNbtMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.inventory.InventorycanTransferTo, containsAny, containsAny, count, getMaxCountPerStack, isValid, markDirtyMethods inherited from interface net.minecraft.util.NameablehasCustomName
- 
Constructor Details- 
TrappedChestBlockEntity- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lczu;<init>(Lgu;Ldcb;)V- intermediary - <init>- Lnet/minecraft/class_2595;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V- named - <init>- Lnet/minecraft/block/entity/ChestBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
 
 
- 
- 
Method Details- 
onViewerCountUpdateprotected void onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) - Overrides:
- onViewerCountUpdatein class- ChestBlockEntity
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lczu;a(Lcmm;Lgu;Ldcb;II)V- intermediary - method_11049- Lnet/minecraft/class_2595;method_11049(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)V- named - onViewerCountUpdate- Lnet/minecraft/block/entity/ChestBlockEntity;onViewerCountUpdate(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)V
 
 
-