类 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
-
- 所有已实现的接口:
ChestAnimationProgress,Inventory,NamedScreenHandlerFactory,ScreenHandlerFactory,Clearable,Nameable
public class TrappedChestBlockEntity extends ChestBlockEntity
- Mappings:
Namespace Name official cixintermediary net/minecraft/class_2646named net/minecraft/block/entity/TrappedChestBlockEntity
-
-
字段概要
-
从类继承的字段 net.minecraft.block.entity.LootableContainerBlockEntity
LOOT_TABLE_KEY, LOOT_TABLE_SEED_KEY, lootTableId, lootTableSeed
-
从类继承的字段 net.minecraft.block.entity.BlockEntity
pos, removed, world
-
从接口继承的字段 net.minecraft.inventory.Inventory
MAX_COUNT_PER_STACK
-
-
构造器概要
构造器 构造器 说明 TrappedChestBlockEntity(BlockPos pos, BlockState state)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidonInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)-
从类继承的方法 net.minecraft.block.entity.ChestBlockEntity
clientTick, copyInventory, createScreenHandler, getAnimationProgress, getContainerName, getInvStackList, getPlayersLookingInChestCount, onClose, onOpen, onScheduledTick, onSyncedBlockEvent, readNbt, setInvStackList, size, writeNbt
-
从类继承的方法 net.minecraft.block.entity.LootableContainerBlockEntity
canPlayerUse, checkLootInteraction, checkUnlocked, clear, createMenu, deserializeLootTable, getStack, isEmpty, removeStack, removeStack, serializeLootTable, setLootTable, setLootTable, setStack
-
从类继承的方法 net.minecraft.block.entity.LockableContainerBlockEntity
checkUnlocked, getCustomName, getDisplayName, getName, setCustomName
-
从类继承的方法 net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromNbt, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, populateCrashReport, setCachedState, setWorld, toInitialChunkDataNbt, toUpdatePacket
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.inventory.Inventory
containsAny, count, getMaxCountPerStack, isValid, markDirty
-
从接口继承的方法 net.minecraft.util.Nameable
hasCustomName
-
-
-
-
构造器详细资料
-
TrappedChestBlockEntity
public TrappedChestBlockEntity(BlockPos pos, BlockState state)
- Mappings:
Namespace Name Mixin selector official <init>Lchu;<init>(Lgb;Lcjr;)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
-
-
方法详细资料
-
onInvOpenOrClose
protected void onInvOpenOrClose(World world, BlockPos pos, BlockState state, int oldViewerCount, int newViewerCount)
- 覆盖:
onInvOpenOrClose在类中ChestBlockEntity- Mappings:
Namespace Name Mixin selector official aLchu;a(Lbvr;Lgb;Lcjr;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
-
-