Package net.minecraft.block.entity
Class LockableContainerBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.LockableContainerBlockEntity
- All Implemented Interfaces:
LockableScreenHandlerFactory,Inventory,NamedScreenHandlerFactory,Nameable
- Direct Known Subclasses:
BeaconBlockEntity,BrewingStandBlockEntity,class_2737,FurnaceBlockEntity
public abstract class LockableContainerBlockEntity
extends BlockEntity
implements NamedScreenHandlerFactory, LockableScreenHandlerFactory
- Mappings:
Namespace Name official aqjintermediary net/minecraft/class_2228named net/minecraft/block/entity/LockableContainerBlockEntity
-
Field Summary
FieldsFields inherited from class net.minecraft.block.entity.BlockEntity
block, pos, removed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfromNbt(NbtCompound nbt) getLock()booleanhasLock()method_541(NbtCompound nbtCompound) voidsetLock(ScreenHandlerLock lock) Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, createFromNbt, getBlock, getDataValue, getEntityWorld, getPos, getSquaredDistance, getSquaredRenderDistance, getUpdatePacket, hasWorld, isRemoved, markDirty, markRemoved, method_11646, onBlockAction, populateCrashReport, resetBlock, setPosition, setWorld, shouldNotCopyNbtFromItemMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.inventory.Inventory
canPlayerUseInv, clear, getInvMaxStackAmount, getInvSize, getInvStack, getProperties, getProperty, isValidInvStack, markDirty, onInvClose, onInvOpen, removeInvStack, setInvStack, setProperty, takeInvStackMethods inherited from interface net.minecraft.text.Nameable
getTranslationKey, hasCustomNameMethods inherited from interface net.minecraft.screen.NamedScreenHandlerFactory
createScreenHandler, getId
-
Field Details
-
lock
- Mappings:
Namespace Name Mixin selector official aLaqj;a:Lqr;intermediary field_9855Lnet/minecraft/class_2228;field_9855:Lnet/minecraft/class_2609;named lockLnet/minecraft/block/entity/LockableContainerBlockEntity;lock:Lnet/minecraft/inventory/ScreenHandlerLock;
-
-
Constructor Details
-
LockableContainerBlockEntity
public LockableContainerBlockEntity()
-
-
Method Details
-
fromNbt
- Overrides:
fromNbtin classBlockEntity- Mappings:
Namespace Name Mixin selector official aLapv;a(Ldq;)Vintermediary method_537Lnet/minecraft/class_226;method_537(Lnet/minecraft/class_322;)Vnamed fromNbtLnet/minecraft/block/entity/BlockEntity;fromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_541
- Overrides:
method_541in classBlockEntity- Mappings:
Namespace Name Mixin selector official bLapv;b(Ldq;)Ldq;intermediary method_541Lnet/minecraft/class_226;method_541(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;named method_541Lnet/minecraft/block/entity/BlockEntity;method_541(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
-
hasLock
public boolean hasLock()- Specified by:
hasLockin interfaceLockableScreenHandlerFactory- Mappings:
Namespace Name Mixin selector official x_Lqs;x_()Zintermediary method_10913Lnet/minecraft/class_2610;method_10913()Znamed hasLockLnet/minecraft/block/entity/LockableScreenHandlerFactory;hasLock()Z
-
getLock
- Specified by:
getLockin interfaceLockableScreenHandlerFactory- Mappings:
Namespace Name Mixin selector official y_Lqs;y_()Lqr;intermediary method_10912Lnet/minecraft/class_2610;method_10912()Lnet/minecraft/class_2609;named getLockLnet/minecraft/block/entity/LockableScreenHandlerFactory;getLock()Lnet/minecraft/inventory/ScreenHandlerLock;
-
setLock
- Specified by:
setLockin interfaceLockableScreenHandlerFactory- Mappings:
Namespace Name Mixin selector official aLqs;a(Lqr;)Vintermediary method_10911Lnet/minecraft/class_2610;method_10911(Lnet/minecraft/class_2609;)Vnamed setLockLnet/minecraft/block/entity/LockableScreenHandlerFactory;setLock(Lnet/minecraft/inventory/ScreenHandlerLock;)V
-
method_6344
- Specified by:
method_6344in interfaceNameable- Mappings:
Namespace Name Mixin selector official i_Lqt;i_()Lew;intermediary method_6344Lnet/minecraft/class_2611;method_6344()Lnet/minecraft/class_1982;named method_6344Lnet/minecraft/text/Nameable;method_6344()Lnet/minecraft/text/Text;
-