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 ast
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 m Last;m:Lkq;
      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 n Last;n:J
      intermediary field_12853 Lnet/minecraft/class_2737;field_12853:J
      named field_12853 Lnet/minecraft/block/entity/class_2737;field_12853:J
    • name

      protected String name
      Mappings:
      Namespace Name Mixin selector
      official o Last;o:Ljava/lang/String;
      intermediary field_15157 Lnet/minecraft/class_2737;field_15157:Ljava/lang/String;
      named name Lnet/minecraft/block/entity/class_2737;name:Ljava/lang/String;
  • Constructor Details

    • class_2737

      public class_2737()
  • Method Details

    • method_11661

      protected boolean method_11661(NbtCompound nbtCompound)
      Mappings:
      Namespace Name Mixin selector
      official c Last;c(Ldu;)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 d Last;d(Ldu;)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 Last;d(Laay;)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 b Lrq;b()Lkq;
      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 Last;a(Lkq;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 n_ Lrp;n_()Z
      intermediary method_5339 Lnet/minecraft/class_2611;method_5339()Z
      named hasCustomName Lnet/minecraft/text/Nameable;hasCustomName()Z
    • method_13729

      public void method_13729(String string)
      Mappings:
      Namespace Name Mixin selector
      official a Last;a(Ljava/lang/String;)V
      intermediary method_13729 Lnet/minecraft/class_2737;method_13729(Ljava/lang/String;)V
      named method_13729 Lnet/minecraft/block/entity/class_2737;method_13729(Ljava/lang/String;)V
    • getInvStack

      public ItemStack getInvStack(int slot)
      Specified by:
      getInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official a Lrc;a(I)Lafj;
      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 Lrc;a(II)Lafj;
      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 Lrc;b(I)Lafj;
      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 Lrc;a(ILafj;)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 Lrc;a(Laay;)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 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
      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
    • isValidInvStack

      public boolean isValidInvStack(int slot, ItemStack stack)
      Specified by:
      isValidInvStack in interface Inventory
      Mappings:
      Namespace Name Mixin selector
      official b Lrc;b(ILafj;)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_ Lrc;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 Lrc;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 Lrc;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 Lrc;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 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;