Package net.minecraft

Class class_9692


class class_9692 extends Slot
Mappings:
Namespace Name
named net/minecraft/class_9692
intermediary net/minecraft/class_9692
official cph
  • Field Details

    • field_51622

      private final LivingEntity field_51622
      Mappings:
      Namespace Name Mixin selector
      named field_51622 Lnet/minecraft/class_9692;field_51622:Lnet/minecraft/entity/LivingEntity;
      intermediary field_51622 Lnet/minecraft/class_9692;field_51622:Lnet/minecraft/class_1309;
      official a Lcph;a:Lbsy;
    • field_51623

      private final EquipmentSlot field_51623
      Mappings:
      Namespace Name Mixin selector
      named field_51623 Lnet/minecraft/class_9692;field_51623:Lnet/minecraft/entity/EquipmentSlot;
      intermediary field_51623 Lnet/minecraft/class_9692;field_51623:Lnet/minecraft/class_1304;
      official b Lcph;b:Lbsk;
    • field_51624

      @Nullable private final @Nullable Identifier field_51624
      Mappings:
      Namespace Name Mixin selector
      named field_51624 Lnet/minecraft/class_9692;field_51624:Lnet/minecraft/util/Identifier;
      intermediary field_51624 Lnet/minecraft/class_9692;field_51624:Lnet/minecraft/class_2960;
      official g Lcph;g:Lakk;
  • Constructor Details

  • Method Details

    • setStack

      public void setStack(ItemStack stack, ItemStack previousStack)
      Sets the slot's stack to stack and marks the slot as dirty. Subclasses may override this method to perform additional operations.
      Overrides:
      setStack in class Slot
      Mappings:
      Namespace Name Mixin selector
      named setStack Lnet/minecraft/screen/slot/Slot;setStack(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
      intermediary method_48931 Lnet/minecraft/class_1735;method_48931(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V
      official a Lcra;a(Lcua;Lcua;)V
    • getMaxItemCount

      public int getMaxItemCount()
      Overrides:
      getMaxItemCount in class Slot
      Mappings:
      Namespace Name Mixin selector
      named getMaxItemCount Lnet/minecraft/screen/slot/Slot;getMaxItemCount()I
      intermediary method_7675 Lnet/minecraft/class_1735;method_7675()I
      official a Lcra;a()I
    • canInsert

      public boolean canInsert(ItemStack stack)
      Overrides:
      canInsert in class Slot
      Mappings:
      Namespace Name Mixin selector
      named canInsert Lnet/minecraft/screen/slot/Slot;canInsert(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_7680 Lnet/minecraft/class_1735;method_7680(Lnet/minecraft/class_1799;)Z
      official a Lcra;a(Lcua;)Z
    • canTakeItems

      public boolean canTakeItems(PlayerEntity playerEntity)
      Overrides:
      canTakeItems in class Slot
      Mappings:
      Namespace Name Mixin selector
      named canTakeItems Lnet/minecraft/screen/slot/Slot;canTakeItems(Lnet/minecraft/entity/player/PlayerEntity;)Z
      intermediary method_7674 Lnet/minecraft/class_1735;method_7674(Lnet/minecraft/class_1657;)Z
      official a Lcra;a(Lcmh;)Z
    • getBackgroundSprite

      public com.mojang.datafixers.util.Pair<Identifier,Identifier> getBackgroundSprite()
      Overrides:
      getBackgroundSprite in class Slot
      Mappings:
      Namespace Name Mixin selector
      named getBackgroundSprite Lnet/minecraft/screen/slot/Slot;getBackgroundSprite()Lcom/mojang/datafixers/util/Pair;
      intermediary method_7679 Lnet/minecraft/class_1735;method_7679()Lcom/mojang/datafixers/util/Pair;
      official b Lcra;b()Lcom/mojang/datafixers/util/Pair;