Class ShulkerBoxBlockEntity

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

public class ShulkerBoxBlockEntity extends class_2737 implements Tickable, SidedInventory
Mappings:
Namespace Name
official asu
intermediary net/minecraft/class_3067
named net/minecraft/block/entity/ShulkerBoxBlockEntity
  • Field Details

    • field_15158

      private static final int[] field_15158
      Mappings:
      Namespace Name Mixin selector
      official a Lasu;a:[I
      intermediary field_15158 Lnet/minecraft/class_3067;field_15158:[I
      named field_15158 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;field_15158:[I
    • inventory

      private DefaultedList<ItemStack> inventory
      Mappings:
      Namespace Name Mixin selector
      official f Lasu;f:Ldd;
      intermediary field_15159 Lnet/minecraft/class_3067;field_15159:Lnet/minecraft/class_3114;
      named inventory Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;inventory:Lnet/minecraft/util/collection/DefaultedList;
    • field_15160

      private boolean field_15160
      Mappings:
      Namespace Name Mixin selector
      official g Lasu;g:Z
      intermediary field_15160 Lnet/minecraft/class_3067;field_15160:Z
      named field_15160 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;field_15160:Z
    • field_15161

      private int field_15161
      Mappings:
      Namespace Name Mixin selector
      official h Lasu;h:I
      intermediary field_15161 Lnet/minecraft/class_3067;field_15161:I
      named field_15161 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;field_15161:I
    • state

      Mappings:
      Namespace Name Mixin selector
      official i Lasu;i:Lasu$a;
      intermediary field_15162 Lnet/minecraft/class_3067;field_15162:Lnet/minecraft/class_3067$class_3068;
      named state Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;state:Lnet/minecraft/block/entity/ShulkerBoxBlockEntity$ShulkerBlockState;
    • field_15163

      private float field_15163
      Mappings:
      Namespace Name Mixin selector
      official j Lasu;j:F
      intermediary field_15163 Lnet/minecraft/class_3067;field_15163:F
      named field_15163 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;field_15163:F
    • field_15164

      private float field_15164
      Mappings:
      Namespace Name Mixin selector
      official k Lasu;k:F
      intermediary field_15164 Lnet/minecraft/class_3067;field_15164:F
      named field_15164 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;field_15164:F
    • color

      private DyeColor color
      Mappings:
      Namespace Name Mixin selector
      official l Lasu;l:Laem;
      intermediary field_15165 Lnet/minecraft/class_3067;field_15165:Lnet/minecraft/class_2674;
      named color Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;color:Lnet/minecraft/util/DyeColor;
    • field_15166

      private boolean field_15166
      Mappings:
      Namespace Name Mixin selector
      official p Lasu;p:Z
      intermediary field_15166 Lnet/minecraft/class_3067;field_15166:Z
      named field_15166 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;field_15166:Z
  • Constructor Details

    • ShulkerBoxBlockEntity

      public ShulkerBoxBlockEntity()
    • ShulkerBoxBlockEntity

      public ShulkerBoxBlockEntity(@Nullable DyeColor dye)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lasu;<init>(Laem;)V
      intermediary <init> Lnet/minecraft/class_3067;<init>(Lnet/minecraft/class_2674;)V
      named <init> Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;<init>(Lnet/minecraft/util/DyeColor;)V
  • Method Details

    • 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
    • method_13742

      protected void method_13742()
      Mappings:
      Namespace Name Mixin selector
      official o Lasu;o()V
      intermediary method_13742 Lnet/minecraft/class_3067;method_13742()V
      named method_13742 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13742()V
    • method_13743

      Mappings:
      Namespace Name Mixin selector
      official p Lasu;p()Lasu$a;
      intermediary method_13743 Lnet/minecraft/class_3067;method_13743()Lnet/minecraft/class_3067$class_3068;
      named method_13743 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13743()Lnet/minecraft/block/entity/ShulkerBoxBlockEntity$ShulkerBlockState;
    • method_13735

      public Box method_13735(BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lasu;a(Latl;)Lbdt;
      intermediary method_13735 Lnet/minecraft/class_3067;method_13735(Lnet/minecraft/class_2232;)Lnet/minecraft/class_231;
      named method_13735 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13735(Lnet/minecraft/block/BlockState;)Lnet/minecraft/util/math/Box;
    • method_13738

      public Box method_13738(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official b Lasu;b(Lcv;)Lbdt;
      intermediary method_13738 Lnet/minecraft/class_3067;method_13738(Lnet/minecraft/class_1354;)Lnet/minecraft/class_231;
      named method_13738 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13738(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Box;
    • method_13739

      private Box method_13739(Direction direction)
      Mappings:
      Namespace Name Mixin selector
      official c Lasu;c(Lcv;)Lbdt;
      intermediary method_13739 Lnet/minecraft/class_3067;method_13739(Lnet/minecraft/class_1354;)Lnet/minecraft/class_231;
      named method_13739 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13739(Lnet/minecraft/util/math/Direction;)Lnet/minecraft/util/math/Box;
    • method_13733

      private void method_13733()
      Mappings:
      Namespace Name Mixin selector
      official G Lasu;G()V
      intermediary method_13733 Lnet/minecraft/class_3067;method_13733()V
      named method_13733 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13733()V
    • 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
    • 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
    • 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
    • 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;
    • 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;
    • 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_13736

      public static void method_13736(class_2934 class_2934)
      Mappings:
      Namespace Name Mixin selector
      official a Lasu;a(Lph;)V
      intermediary method_13736 Lnet/minecraft/class_3067;method_13736(Lnet/minecraft/class_2934;)V
      named method_13736 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13736(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;
    • method_13740

      public void method_13740(NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official e Lasu;e(Ldu;)V
      intermediary method_13740 Lnet/minecraft/class_3067;method_13740(Lnet/minecraft/class_322;)V
      named method_13740 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13740(Lnet/minecraft/nbt/NbtCompound;)V
    • method_13741

      public NbtCompound method_13741(NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official f Lasu;f(Ldu;)Ldu;
      intermediary method_13741 Lnet/minecraft/class_3067;method_13741(Lnet/minecraft/class_322;)Lnet/minecraft/class_322;
      named method_13741 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13741(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/nbt/NbtCompound;
    • 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;
    • 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
    • getInvAvailableSlots

      public int[] getInvAvailableSlots(Direction side)
      Specified by:
      getInvAvailableSlots in interface SidedInventory
      Mappings:
      Namespace Name Mixin selector
      official a Lru;a(Lcv;)[I
      intermediary method_10915 Lnet/minecraft/class_1559;method_10915(Lnet/minecraft/class_1354;)[I
      named getInvAvailableSlots Lnet/minecraft/inventory/SidedInventory;getInvAvailableSlots(Lnet/minecraft/util/math/Direction;)[I
    • canInsertInvStack

      public boolean canInsertInvStack(int slot, ItemStack stack, Direction dir)
      Specified by:
      canInsertInvStack in interface SidedInventory
      Mappings:
      Namespace Name Mixin selector
      official a Lru;a(ILafj;Lcv;)Z
      intermediary method_5353 Lnet/minecraft/class_1559;method_5353(ILnet/minecraft/class_1071;Lnet/minecraft/class_1354;)Z
      named canInsertInvStack Lnet/minecraft/inventory/SidedInventory;canInsertInvStack(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Z
    • canExtractInvStack

      public boolean canExtractInvStack(int slot, ItemStack stack, Direction dir)
      Specified by:
      canExtractInvStack in interface SidedInventory
      Mappings:
      Namespace Name Mixin selector
      official b Lru;b(ILafj;Lcv;)Z
      intermediary method_5354 Lnet/minecraft/class_1559;method_5354(ILnet/minecraft/class_1071;Lnet/minecraft/class_1354;)Z
      named canExtractInvStack Lnet/minecraft/inventory/SidedInventory;canExtractInvStack(ILnet/minecraft/item/ItemStack;Lnet/minecraft/util/math/Direction;)Z
    • clear

      public void clear()
      Specified by:
      clear in interface Inventory
      Overrides:
      clear in class class_2737
      Mappings:
      Namespace Name Mixin selector
      official m Lrc;m()V
      intermediary method_10897 Lnet/minecraft/class_849;method_10897()V
      named clear Lnet/minecraft/inventory/Inventory;clear()V
    • method_13744

      public boolean method_13744()
      Mappings:
      Namespace Name Mixin selector
      official r Lasu;r()Z
      intermediary method_13744 Lnet/minecraft/class_3067;method_13744()Z
      named method_13744 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13744()Z
    • method_13734

      public float method_13734(float float2)
      Mappings:
      Namespace Name Mixin selector
      official a Lasu;a(F)F
      intermediary method_13734 Lnet/minecraft/class_3067;method_13734(F)F
      named method_13734 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13734(F)F
    • method_13745

      @Environment(CLIENT) public DyeColor method_13745()
      Mappings:
      Namespace Name Mixin selector
      official s Lasu;s()Laem;
      intermediary method_13745 Lnet/minecraft/class_3067;method_13745()Lnet/minecraft/class_2674;
      named method_13745 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13745()Lnet/minecraft/util/DyeColor;
    • getUpdatePacket

      @Nullable public BlockEntityUpdateS2CPacket getUpdatePacket()
      Overrides:
      getUpdatePacket in class BlockEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lasc;c()Lfz;
      intermediary method_544 Lnet/minecraft/class_226;method_544()Lnet/minecraft/class_2003;
      named getUpdatePacket Lnet/minecraft/block/entity/BlockEntity;getUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
    • method_13731

      public boolean method_13731()
      Mappings:
      Namespace Name Mixin selector
      official E Lasu;E()Z
      intermediary method_13731 Lnet/minecraft/class_3067;method_13731()Z
      named method_13731 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13731()Z
    • method_13737

      public void method_13737(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lasu;a(Z)V
      intermediary method_13737 Lnet/minecraft/class_3067;method_13737(Z)V
      named method_13737 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13737(Z)V
    • method_13732

      public boolean method_13732()
      Mappings:
      Namespace Name Mixin selector
      official F Lasu;F()Z
      intermediary method_13732 Lnet/minecraft/class_3067;method_13732()Z
      named method_13732 Lnet/minecraft/block/entity/ShulkerBoxBlockEntity;method_13732()Z