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 LockableScreenHandlerFactory
- Mappings:
Namespace Name official asqintermediary 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, create, getBlock, getDataValue, getEntityWorld, getIdentifier, getPos, getSquaredDistance, getSquaredRenderDistance, getUpdatePacket, hasWorld, isRemoved, markDirty, markRemoved, method_11646, method_13321, method_13322, method_13323, 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, isEmpty, 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 aLasq;a:Lrn;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 aLasc;a(Ldu;)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 bLasc;b(Ldu;)Ldu;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 z_Lro;z_()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 jLro;j()Lrn;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 aLro;a(Lrn;)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- Overrides:
method_6344in classBlockEntity- Mappings:
Namespace Name Mixin selector official i_Lasc;i_()Lfb;intermediary method_6344Lnet/minecraft/class_226;method_6344()Lnet/minecraft/class_1982;named method_6344Lnet/minecraft/block/entity/BlockEntity;method_6344()Lnet/minecraft/text/Text;
-