Class ChestBlockEntity

All Implemented Interfaces:
LockableScreenHandlerFactory, class_2964, Inventory, NamedScreenHandlerFactory, Nameable, Tickable

public class ChestBlockEntity extends class_2737 implements Tickable
Mappings:
Namespace Name
official ase
intermediary net/minecraft/class_216
named net/minecraft/block/entity/ChestBlockEntity
  • Field Details

    • field_15152

      private DefaultedList<ItemStack> field_15152
      Mappings:
      Namespace Name Mixin selector
      official p Lase;p:Ldd;
      intermediary field_15152 Lnet/minecraft/class_216;field_15152:Lnet/minecraft/class_3114;
      named field_15152 Lnet/minecraft/block/entity/ChestBlockEntity;field_15152:Lnet/minecraft/util/collection/DefaultedList;
    • field_517

      public boolean field_517
      Mappings:
      Namespace Name Mixin selector
      official a Lase;a:Z
      intermediary field_517 Lnet/minecraft/class_216;field_517:Z
      named field_517 Lnet/minecraft/block/entity/ChestBlockEntity;field_517:Z
    • field_518

      public ChestBlockEntity field_518
      Mappings:
      Namespace Name Mixin selector
      official f Lase;f:Lase;
      intermediary field_518 Lnet/minecraft/class_216;field_518:Lnet/minecraft/class_216;
      named field_518 Lnet/minecraft/block/entity/ChestBlockEntity;field_518:Lnet/minecraft/block/entity/ChestBlockEntity;
    • field_519

      public ChestBlockEntity field_519
      Mappings:
      Namespace Name Mixin selector
      official g Lase;g:Lase;
      intermediary field_519 Lnet/minecraft/class_216;field_519:Lnet/minecraft/class_216;
      named field_519 Lnet/minecraft/block/entity/ChestBlockEntity;field_519:Lnet/minecraft/block/entity/ChestBlockEntity;
    • field_520

      public ChestBlockEntity field_520
      Mappings:
      Namespace Name Mixin selector
      official h Lase;h:Lase;
      intermediary field_520 Lnet/minecraft/class_216;field_520:Lnet/minecraft/class_216;
      named field_520 Lnet/minecraft/block/entity/ChestBlockEntity;field_520:Lnet/minecraft/block/entity/ChestBlockEntity;
    • field_521

      public ChestBlockEntity field_521
      Mappings:
      Namespace Name Mixin selector
      official i Lase;i:Lase;
      intermediary field_521 Lnet/minecraft/class_216;field_521:Lnet/minecraft/class_216;
      named field_521 Lnet/minecraft/block/entity/ChestBlockEntity;field_521:Lnet/minecraft/block/entity/ChestBlockEntity;
    • animationAngle

      public float animationAngle
      Mappings:
      Namespace Name Mixin selector
      official j Lase;j:F
      intermediary field_522 Lnet/minecraft/class_216;field_522:F
      named animationAngle Lnet/minecraft/block/entity/ChestBlockEntity;animationAngle:F
    • field_523

      public float field_523
      Mappings:
      Namespace Name Mixin selector
      official k Lase;k:F
      intermediary field_523 Lnet/minecraft/class_216;field_523:F
      named field_523 Lnet/minecraft/block/entity/ChestBlockEntity;field_523:F
    • viewerCount

      public int viewerCount
      Mappings:
      Namespace Name Mixin selector
      official l Lase;l:I
      intermediary field_524 Lnet/minecraft/class_216;field_524:I
      named viewerCount Lnet/minecraft/block/entity/ChestBlockEntity;viewerCount:I
    • ticksOpen

      private int ticksOpen
      Mappings:
      Namespace Name Mixin selector
      official q Lase;q:I
      intermediary field_526 Lnet/minecraft/class_216;field_526:I
      named ticksOpen Lnet/minecraft/block/entity/ChestBlockEntity;ticksOpen:I
    • field_12843

      private ChestBlock.Type field_12843
      Mappings:
      Namespace Name Mixin selector
      official r Lase;r:Lamg$a;
      intermediary field_12843 Lnet/minecraft/class_216;field_12843:Lnet/minecraft/class_118$class_2719;
      named field_12843 Lnet/minecraft/block/entity/ChestBlockEntity;field_12843:Lnet/minecraft/block/ChestBlock$Type;
  • Constructor Details

    • ChestBlockEntity

      public ChestBlockEntity()
    • ChestBlockEntity

      public ChestBlockEntity(ChestBlock.Type type)
  • Method Details

    • getInvSize

      public int getInvSize()
      Specified by:
      getInvSize in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official v_ Lrc;v_()I
      intermediary method_2388 Lnet/minecraft/class_849;method_2388()I
      named getInvSize Lnet/minecraft/inventory/Inventory;getInvSize()I
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official w_ Lrc;w_()Z
      intermediary method_13922 Lnet/minecraft/class_849;method_13922()Z
      named isEmpty Lnet/minecraft/inventory/Inventory;isEmpty()Z
    • getTranslationKey

      public String getTranslationKey()
      Specified by:
      getTranslationKey in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official h_ Lrp;h_()Ljava/lang/String;
      intermediary method_2518 Lnet/minecraft/class_2611;method_2518()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/text/Nameable;getTranslationKey()Ljava/lang/String;
    • method_13325

      public static void method_13325(class_2934 class_2934)
      Mappings:
      Namespace Name Mixin selector
      official a Lase;a(Lph;)V
      intermediary method_13325 Lnet/minecraft/class_216;method_13325(Lnet/minecraft/class_2934;)V
      named method_13325 Lnet/minecraft/block/entity/ChestBlockEntity;method_13325(Lnet/minecraft/class_2934;)V
    • fromNbt

      public void fromNbt(NbtCompound nbt)
      Overrides:
      fromNbt in class LockableContainerBlockEntity
      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 LockableContainerBlockEntity
      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;
    • getInvMaxStackAmount

      public int getInvMaxStackAmount()
      Specified by:
      getInvMaxStackAmount in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official y_ Lrc;y_()I
      intermediary method_2389 Lnet/minecraft/class_849;method_2389()I
      named getInvMaxStackAmount Lnet/minecraft/inventory/Inventory;getInvMaxStackAmount()I
    • resetBlock

      public void resetBlock()
      Overrides:
      resetBlock in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official B Lasc;B()V
      intermediary method_546 Lnet/minecraft/class_226;method_546()V
      named resetBlock Lnet/minecraft/block/entity/BlockEntity;resetBlock()V
    • method_8985

      private void method_8985(ChestBlockEntity chest, Direction dir)
      Mappings:
      Namespace Name Mixin selector
      official a Lase;a(Lase;Lcv;)V
      intermediary method_8985 Lnet/minecraft/class_216;method_8985(Lnet/minecraft/class_216;Lnet/minecraft/class_1354;)V
      named method_8985 Lnet/minecraft/block/entity/ChestBlockEntity;method_8985(Lnet/minecraft/block/entity/ChestBlockEntity;Lnet/minecraft/util/math/Direction;)V
    • method_511

      public void method_511()
      Mappings:
      Namespace Name Mixin selector
      official o Lase;o()V
      intermediary method_511 Lnet/minecraft/class_216;method_511()V
      named method_511 Lnet/minecraft/block/entity/ChestBlockEntity;method_511()V
    • method_8986

      @Nullable protected ChestBlockEntity method_8986(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official a Lase;a(Lcv;)Lase;
      intermediary method_8986 Lnet/minecraft/class_216;method_8986(Lnet/minecraft/class_1354;)Lnet/minecraft/class_216;
      named method_8986 Lnet/minecraft/block/entity/ChestBlockEntity;method_8986(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/entity/ChestBlockEntity;
    • method_8987

      private boolean method_8987(BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Lase;b(Lco;)Z
      intermediary method_8987 Lnet/minecraft/class_216;method_8987(Lnet/minecraft/class_2552;)Z
      named method_8987 Lnet/minecraft/block/entity/ChestBlockEntity;method_8987(Lnet/minecraft/util/math/BlockPos;)Z
    • tick

      public void tick()
      Specified by:
      tick in interface Tickable
      Mappings:
      Namespace Name Mixin selector
      official F_ Llf;F_()V
      intermediary method_2053 Lnet/minecraft/class_746;method_2053()V
      named tick Lnet/minecraft/util/Tickable;tick()V
    • onBlockAction

      public boolean onBlockAction(int int2, int int3)
      Overrides:
      onBlockAction in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lasc;c(II)Z
      intermediary method_4838 Lnet/minecraft/class_226;method_4838(II)Z
      named onBlockAction Lnet/minecraft/block/entity/BlockEntity;onBlockAction(II)Z
    • onInvOpen

      public void onInvOpen(PlayerEntity player)
      Specified by:
      onInvOpen in interface Inventory
      Overrides:
      onInvOpen in class class_2737
      Mappings:
      Namespace Name Mixin selector
      official b Lrc;b(Laay;)V
      intermediary method_10894 Lnet/minecraft/class_849;method_10894(Lnet/minecraft/class_988;)V
      named onInvOpen Lnet/minecraft/inventory/Inventory;onInvOpen(Lnet/minecraft/entity/player/PlayerEntity;)V
    • onInvClose

      public void onInvClose(PlayerEntity player)
      Specified by:
      onInvClose in interface Inventory
      Overrides:
      onInvClose in class class_2737
      Mappings:
      Namespace Name Mixin selector
      official c Lrc;c(Laay;)V
      intermediary method_10895 Lnet/minecraft/class_849;method_10895(Lnet/minecraft/class_988;)V
      named onInvClose Lnet/minecraft/inventory/Inventory;onInvClose(Lnet/minecraft/entity/player/PlayerEntity;)V
    • markRemoved

      public void markRemoved()
      Overrides:
      markRemoved in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lasc;z()V
      intermediary method_547 Lnet/minecraft/class_226;method_547()V
      named markRemoved Lnet/minecraft/block/entity/BlockEntity;markRemoved()V
    • method_4806

      public ChestBlock.Type method_4806()
      Mappings:
      Namespace Name Mixin selector
      official p Lase;p()Lamg$a;
      intermediary method_4806 Lnet/minecraft/class_216;method_4806()Lnet/minecraft/class_118$class_2719;
      named method_4806 Lnet/minecraft/block/entity/ChestBlockEntity;method_4806()Lnet/minecraft/block/ChestBlock$Type;
    • getId

      public String getId()
      Specified by:
      getId in interface NamedScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official l Lrj;l()Ljava/lang/String;
      intermediary method_10906 Lnet/minecraft/class_2608;method_10906()Ljava/lang/String;
      named getId Lnet/minecraft/screen/NamedScreenHandlerFactory;getId()Ljava/lang/String;
    • createScreenHandler

      public ScreenHandler createScreenHandler(PlayerInventory inventory, PlayerEntity player)
      Specified by:
      createScreenHandler in interface NamedScreenHandlerFactory
      Mappings:
      Namespace Name Mixin selector
      official a Lrj;a(Laax;Laay;)Lacl;
      intermediary method_10905 Lnet/minecraft/class_2608;method_10905(Lnet/minecraft/class_987;Lnet/minecraft/class_988;)Lnet/minecraft/class_1002;
      named createScreenHandler Lnet/minecraft/screen/NamedScreenHandlerFactory;createScreenHandler(Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/screen/ScreenHandler;
    • method_13730

      protected DefaultedList<ItemStack> method_13730()
      Specified by:
      method_13730 in class class_2737
      Mappings:
      Namespace Name Mixin selector
      official q Last;q()Ldd;
      intermediary method_13730 Lnet/minecraft/class_2737;method_13730()Lnet/minecraft/class_3114;
      named method_13730 Lnet/minecraft/block/entity/class_2737;method_13730()Lnet/minecraft/util/collection/DefaultedList;