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 dat
intermediary net/minecraft/class_2646
named net/minecraft/block/entity/TrappedChestBlockEntity
-
Field Summary
Fields inherited from class net.minecraft.block.entity.LootableContainerBlockEntity
LOOT_TABLE_KEY, LOOT_TABLE_SEED_KEY, lootTableId, lootTableSeed
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
Fields inherited from interface net.minecraft.inventory.Inventory
field_42619, MAX_COUNT_PER_STACK
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
onViewerCountUpdate
(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) Methods inherited from class net.minecraft.block.entity.ChestBlockEntity
clientTick, copyInventory, createScreenHandler, getAnimationProgress, getContainerName, getInvStackList, getPlayersLookingInChestCount, onClose, onOpen, onScheduledTick, onSyncedBlockEvent, playSound, readNbt, setInvStackList, size, writeNbt
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
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, posFromNbt, setCachedState, setStackNbt, setWorld, toInitialChunkDataNbt, toUpdatePacket, writeIdToNbt
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
canTransferTo, containsAny, containsAny, count, getMaxCountPerStack, isValid, markDirty
Methods inherited from interface net.minecraft.util.Nameable
hasCustomName
-
Constructor Details
-
TrappedChestBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lczj;<init>(Lgt;Ldbq;)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
-
onViewerCountUpdate
protected void onViewerCountUpdate(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount) - Overrides:
onViewerCountUpdate
in classChestBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lczj;a(Lcmi;Lgt;Ldbq;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
-