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

    • lock

      private ScreenHandlerLock lock
      Mappings:
      Namespace Name Mixin selector
      official a Lavx;a:Lug;
      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 Lavj;a(Lfy;)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 Lavj;b(Lfy;)Lfy;
      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 A_ Luh;A_()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 Luh;j()Lug;
      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 Luh;a(Lug;)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_ Lavj;i_()Lhh;
      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;