Class class_2737

All Implemented Interfaces:
LockableScreenHandlerFactory, class_2964, Inventory, NamedScreenHandlerFactory, Nameable
Direct Known Subclasses:
ChestBlockEntity, DispenserBlockEntity, HopperBlockEntity, ShulkerBoxBlockEntity

public abstract class class_2737 extends LockableContainerBlockEntity implements class_2964
Mappings:
Namespace Name
official bka
intermediary net/minecraft/class_2737
named net/minecraft/block/entity/class_2737
  • Field Details

    • field_12852

      protected Identifier field_12852
      Mappings:
      Namespace Name Mixin selector
      official g Lbka;g:Lpc;
      intermediary field_12852 Lnet/minecraft/class_2737;field_12852:Lnet/minecraft/class_1653;
      named field_12852 Lnet/minecraft/block/entity/class_2737;field_12852:Lnet/minecraft/util/Identifier;
    • field_12853

      protected long field_12853
      Mappings:
      Namespace Name Mixin selector
      official h Lbka;h:J
      intermediary field_12853 Lnet/minecraft/class_2737;field_12853:J
      named field_12853 Lnet/minecraft/block/entity/class_2737;field_12853:J
    • field_18643

      protected Text field_18643
      Mappings:
      Namespace Name Mixin selector
      official i Lbka;i:Lij;
      intermediary field_18643 Lnet/minecraft/class_2737;field_18643:Lnet/minecraft/class_1982;
      named field_18643 Lnet/minecraft/block/entity/class_2737;field_18643:Lnet/minecraft/text/Text;
  • Constructor Details

  • Method Details

    • method_16833

      public static void method_16833(BlockView blockView, Random random, BlockPos blockPos, Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      official a Lbka;a(Laxk;Ljava/util/Random;Lel;Lpc;)V
      intermediary method_16833 Lnet/minecraft/class_2737;method_16833(Lnet/minecraft/class_1158;Ljava/util/Random;Lnet/minecraft/class_2552;Lnet/minecraft/class_1653;)V
      named method_16833 Lnet/minecraft/block/entity/class_2737;method_16833(Lnet/minecraft/world/BlockView;Ljava/util/Random;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/Identifier;)V
    • method_11661

      protected boolean method_11661(NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official d Lbka;d(Lgy;)Z
      intermediary method_11661 Lnet/minecraft/class_2737;method_11661(Lnet/minecraft/class_322;)Z
      named method_11661 Lnet/minecraft/block/entity/class_2737;method_11661(Lnet/minecraft/nbt/NbtCompound;)Z
    • method_11663

      protected boolean method_11663(NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official e Lbka;e(Lgy;)Z
      intermediary method_11663 Lnet/minecraft/class_2737;method_11663(Lnet/minecraft/class_322;)Z
      named method_11663 Lnet/minecraft/block/entity/class_2737;method_11663(Lnet/minecraft/nbt/NbtCompound;)Z
    • method_11662

      public void method_11662(@Nullable PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      official d Lbka;d(Laog;)V
      intermediary method_11662 Lnet/minecraft/class_2737;method_11662(Lnet/minecraft/class_988;)V
      named method_11662 Lnet/minecraft/block/entity/class_2737;method_11662(Lnet/minecraft/entity/player/PlayerEntity;)V
    • getLootTableId

      public Identifier getLootTableId()
      Specified by:
      getLootTableId in interface class_2964
      Mappings:
      Namespace Name Mixin selector
      official Q_ Lads;Q_()Lpc;
      intermediary method_12936 Lnet/minecraft/class_2964;method_12936()Lnet/minecraft/class_1653;
      named getLootTableId Lnet/minecraft/class_2964;getLootTableId()Lnet/minecraft/util/Identifier;
    • method_11660

      public void method_11660(Identifier identifier, long long2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbka;a(Lpc;J)V
      intermediary method_11660 Lnet/minecraft/class_2737;method_11660(Lnet/minecraft/class_1653;J)V
      named method_11660 Lnet/minecraft/block/entity/class_2737;method_11660(Lnet/minecraft/util/Identifier;J)V
    • hasCustomName

      public boolean hasCustomName()
      Specified by:
      hasCustomName in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official O_ Ladr;O_()Z
      intermediary method_5339 Lnet/minecraft/class_2611;method_5339()Z
      named hasCustomName Lnet/minecraft/text/Nameable;hasCustomName()Z
    • method_16835

      public void method_16835(@Nullable Text text)
      Mappings:
      Namespace Name Mixin selector
      official a Lbka;a(Lij;)V
      intermediary method_16835 Lnet/minecraft/class_2737;method_16835(Lnet/minecraft/class_1982;)V
      named method_16835 Lnet/minecraft/block/entity/class_2737;method_16835(Lnet/minecraft/text/Text;)V
    • method_15541

      @Nullable public Text method_15541()
      Specified by:
      method_15541 in interface Nameable
      Mappings:
      Namespace Name Mixin selector
      official e Ladr;e()Lij;
      intermediary method_15541 Lnet/minecraft/class_2611;method_15541()Lnet/minecraft/class_1982;
      named method_15541 Lnet/minecraft/text/Nameable;method_15541()Lnet/minecraft/text/Text;
    • getInvStack

      public ItemStack getInvStack(int slot)
      Specified by:
      getInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lade;a(I)Late;
      intermediary method_2381 Lnet/minecraft/class_849;method_2381(I)Lnet/minecraft/class_1071;
      named getInvStack Lnet/minecraft/inventory/Inventory;getInvStack(I)Lnet/minecraft/item/ItemStack;
    • takeInvStack

      public ItemStack takeInvStack(int slot, int amount)
      Specified by:
      takeInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lade;a(II)Late;
      intermediary method_2382 Lnet/minecraft/class_849;method_2382(II)Lnet/minecraft/class_1071;
      named takeInvStack Lnet/minecraft/inventory/Inventory;takeInvStack(II)Lnet/minecraft/item/ItemStack;
    • removeInvStack

      public ItemStack removeInvStack(int slot)
      Specified by:
      removeInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official b Lade;b(I)Late;
      intermediary method_2386 Lnet/minecraft/class_849;method_2386(I)Lnet/minecraft/class_1071;
      named removeInvStack Lnet/minecraft/inventory/Inventory;removeInvStack(I)Lnet/minecraft/item/ItemStack;
    • setInvStack

      public void setInvStack(int slot, @Nullable ItemStack stack)
      Specified by:
      setInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lade;a(ILate;)V
      intermediary method_2383 Lnet/minecraft/class_849;method_2383(ILnet/minecraft/class_1071;)V
      named setInvStack Lnet/minecraft/inventory/Inventory;setInvStack(ILnet/minecraft/item/ItemStack;)V
    • canPlayerUseInv

      public boolean canPlayerUseInv(PlayerEntity player)
      Specified by:
      canPlayerUseInv in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lade;a(Laog;)Z
      intermediary method_2384 Lnet/minecraft/class_849;method_2384(Lnet/minecraft/class_988;)Z
      named canPlayerUseInv Lnet/minecraft/inventory/Inventory;canPlayerUseInv(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • onInvOpen

      public void onInvOpen(PlayerEntity player)
      Specified by:
      onInvOpen in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official b Lade;b(Laog;)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
      Mappings:
      Namespace Name Mixin selector
      official c Lade;c(Laog;)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
    • isValidInvStack

      public boolean isValidInvStack(int slot, ItemStack stack)
      Specified by:
      isValidInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official b Lade;b(ILate;)Z
      intermediary method_5338 Lnet/minecraft/class_849;method_5338(ILnet/minecraft/class_1071;)Z
      named isValidInvStack Lnet/minecraft/inventory/Inventory;isValidInvStack(ILnet/minecraft/item/ItemStack;)Z
    • getProperty

      public int getProperty(int key)
      Specified by:
      getProperty in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official c Lade;c(I)I
      intermediary method_10892 Lnet/minecraft/class_849;method_10892(I)I
      named getProperty Lnet/minecraft/inventory/Inventory;getProperty(I)I
    • setProperty

      public void setProperty(int id, int value)
      Specified by:
      setProperty in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official b Lade;b(II)V
      intermediary method_10893 Lnet/minecraft/class_849;method_10893(II)V
      named setProperty Lnet/minecraft/inventory/Inventory;setProperty(II)V
    • getProperties

      public int getProperties()
      Specified by:
      getProperties in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official h Lade;h()I
      intermediary method_10896 Lnet/minecraft/class_849;method_10896()I
      named getProperties Lnet/minecraft/inventory/Inventory;getProperties()I
    • clear

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

      protected abstract DefaultedList<ItemStack> method_13730()
      Mappings:
      Namespace Name Mixin selector
      official q Lbka;q()Lez;
      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;
    • method_16834

      protected abstract void method_16834(DefaultedList<ItemStack> defaultedList)
      Mappings:
      Namespace Name Mixin selector
      official a Lbka;a(Lez;)V
      intermediary method_16834 Lnet/minecraft/class_2737;method_16834(Lnet/minecraft/class_3114;)V
      named method_16834 Lnet/minecraft/block/entity/class_2737;method_16834(Lnet/minecraft/util/collection/DefaultedList;)V