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, ChestBlockEntity, DispenserBlockEntity, FurnaceBlockEntity, HopperBlockEntity

public abstract class LockableContainerBlockEntity
extends BlockEntity
implements NamedScreenHandlerFactory, LockableScreenHandlerFactory
Mappings:
Namespace Name
official alk
intermediary net/minecraft/class_363
named net/minecraft/block/entity/LockableContainerBlockEntity
  • Field Details

    • lock

      private ScreenHandlerLock lock
      Mappings:
      Namespace Name Mixin selector
      official a Lalk;a:Lon;
      intermediary field_1455 Lnet/minecraft/class_363;field_1455:Lnet/minecraft/class_1724;
      named lock Lnet/minecraft/block/entity/LockableContainerBlockEntity;lock:Lnet/minecraft/inventory/ScreenHandlerLock;
  • Constructor Details

    • LockableContainerBlockEntity

      public LockableContainerBlockEntity()
  • Method Details

    • fromTag

      public void fromTag​(CompoundTag tag)
      Overrides:
      fromTag in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lakw;a(Ldn;)V
      intermediary method_1098 Lnet/minecraft/class_348;method_1098(Lnet/minecraft/class_1405;)V
      named fromTag Lnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • toTag

      public void toTag​(CompoundTag tag)
      Overrides:
      toTag in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lakw;b(Ldn;)V
      intermediary method_1100 Lnet/minecraft/class_348;method_1100(Lnet/minecraft/class_1405;)V
      named toTag Lnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)V
    • hasLock

      public boolean hasLock()
      Specified by:
      hasLock in interface LockableScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official r_ Loo;r_()Z
      intermediary method_6769 Lnet/minecraft/class_1725;method_6769()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 i Loo;i()Lon;
      intermediary method_6768 Lnet/minecraft/class_1725;method_6768()Lnet/minecraft/class_1724;
      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 Loo;a(Lon;)V
      intermediary method_6767 Lnet/minecraft/class_1725;method_6767(Lnet/minecraft/class_1724;)V
      named setLock Lnet/minecraft/block/entity/LockableScreenHandlerFactory;setLock(Lnet/minecraft/inventory/ScreenHandlerLock;)V
    • getName

      public Text getName()
      Specified by:
      getName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official f_ Lop;f_()Leu;
      intermediary method_133 Lnet/minecraft/class_1726;method_133()Lnet/minecraft/class_1444;
      named getName Lnet/minecraft/text/Nameable;getName()Lnet/minecraft/text/Text;