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 aqj
intermediary net/minecraft/class_2228
named net/minecraft/block/entity/LockableContainerBlockEntity
  • Field Details

    • lock

      private ScreenHandlerLock lock
      Mappings:
      Namespace Name Mixin selector
      official a Laqj;a:Lqr;
      intermediary field_9855 Lnet/minecraft/class_2228;field_9855:Lnet/minecraft/class_2609;
      named lock Lnet/minecraft/block/entity/LockableContainerBlockEntity;lock:Lnet/minecraft/inventory/ScreenHandlerLock;
  • Constructor Details

    • LockableContainerBlockEntity

      public LockableContainerBlockEntity()
  • Method Details

    • fromNbt

      public void fromNbt(NbtCompound nbt)
      Overrides:
      fromNbt in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lapv;a(Ldq;)V
      intermediary method_537 Lnet/minecraft/class_226;method_537(Lnet/minecraft/class_322;)V
      named fromNbt Lnet/minecraft/block/entity/BlockEntity;fromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_541

      public NbtCompound method_541(NbtCompound nbtCompound)
      Overrides:
      method_541 in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lapv;b(Ldq;)Ldq;
      intermediary method_541 Lnet/minecraft/class_226;method_541(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;
      named method_541 Lnet/minecraft/block/entity/BlockEntity;method_541(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • hasLock

      public boolean hasLock()
      Specified by:
      hasLock in interface LockableScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official x_ Lqs;x_()Z
      intermediary method_10913 Lnet/minecraft/class_2610;method_10913()Z
      named hasLock Lnet/minecraft/block/entity/LockableScreenHandlerFactory;hasLock()Z
    • getLock

      public ScreenHandlerLock getLock()
      Specified by:
      getLock in interface LockableScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official y_ Lqs;y_()Lqr;
      intermediary method_10912 Lnet/minecraft/class_2610;method_10912()Lnet/minecraft/class_2609;
      named getLock Lnet/minecraft/block/entity/LockableScreenHandlerFactory;getLock()Lnet/minecraft/inventory/ScreenHandlerLock;
    • setLock

      public void setLock(ScreenHandlerLock lock)
      Specified by:
      setLock in interface LockableScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official a Lqs;a(Lqr;)V
      intermediary method_10911 Lnet/minecraft/class_2610;method_10911(Lnet/minecraft/class_2609;)V
      named setLock Lnet/minecraft/block/entity/LockableScreenHandlerFactory;setLock(Lnet/minecraft/inventory/ScreenHandlerLock;)V
    • method_6344

      public Text method_6344()
      Specified by:
      method_6344 in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official i_ Lqt;i_()Lew;
      intermediary method_6344 Lnet/minecraft/class_2611;method_6344()Lnet/minecraft/class_1982;
      named method_6344 Lnet/minecraft/text/Nameable;method_6344()Lnet/minecraft/text/Text;