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
public class TrappedChestBlockEntity extends ChestBlockEntity
- Mappings:
Namespace Name official cgzintermediary net/minecraft/class_2646named net/minecraft/block/entity/TrappedChestBlockEntity
-
Field Summary
Fields 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(BlockPos pos, BlockState state) -
Method Summary
Modifier and Type Method Description protected voidonInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)Methods inherited from class net.minecraft.block.entity.ChestBlockEntity
clientTick, copyInventory, createScreenHandler, fromTag, getAnimationProgress, getContainerName, getInvStackList, getPlayersLookingInChestCount, onClose, onOpen, onScheduledTick, onSyncedBlockEvent, setInvStackList, size, 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
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getSquaredRenderDistance, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, setCachedState, setWorld, 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
- Mappings:
Namespace Name Mixin selector official <init>Lcfw;<init>(Lfx;Lcht;)Vintermediary <init>Lnet/minecraft/class_2595;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vnamed <init>Lnet/minecraft/block/entity/ChestBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
onInvOpenOrClose
protected void onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)- Overrides:
onInvOpenOrClosein classChestBlockEntity- Mappings:
Namespace Name Mixin selector official aLcfw;a(Lbtv;Lfx;Lcht;II)Vintermediary method_11049Lnet/minecraft/class_2595;method_11049(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)Vnamed onInvOpenOrCloseLnet/minecraft/block/entity/ChestBlockEntity;onInvOpenOrClose(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)V
-