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

    • lock

      private ScreenHandlerLock lock
      Mappings:
      Namespace Name Mixin selector
      official a Lasq;a:Lrn;
      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 Lasc;a(Ldu;)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 Lasc;b(Ldu;)Ldu;
      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 z_ Lro;z_()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 j Lro;j()Lrn;
      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 Lro;a(Lrn;)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
      Overrides:
      method_6344 in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official i_ Lasc;i_()Lfb;
      intermediary method_6344 Lnet/minecraft/class_226;method_6344()Lnet/minecraft/class_1982;
      named method_6344 Lnet/minecraft/block/entity/BlockEntity;method_6344()Lnet/minecraft/text/Text;