Class CreativeInventoryScreen.CreativeInventorySlot

java.lang.Object
net.minecraft.inventory.slot.Slot
net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen.CreativeInventorySlot
Enclosing class:
CreativeInventoryScreen

@Environment(CLIENT) class CreativeInventoryScreen.CreativeInventorySlot extends Slot
Mappings:
Namespace Name
official bip$b
intermediary net/minecraft/class_415$class_417
named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeInventorySlot
  • Field Details

    • slot

      private final Slot slot
      Mappings:
      Namespace Name Mixin selector
      official b Lbip$b;b:Ladl;
      intermediary field_1386 Lnet/minecraft/class_415$class_417;field_1386:Lnet/minecraft/class_1026;
      named slot Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeInventorySlot;slot:Lnet/minecraft/inventory/slot/Slot;
  • Constructor Details

    • CreativeInventorySlot

      public CreativeInventorySlot(Slot slot, int index)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbip$b;<init>(Lbip;Ladl;I)V
      intermediary <init> Lnet/minecraft/class_415$class_417;<init>(Lnet/minecraft/class_415;Lnet/minecraft/class_1026;I)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen$CreativeInventorySlot;<init>(Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;Lnet/minecraft/inventory/slot/Slot;I)V
  • Method Details

    • method_3298

      public ItemStack method_3298(PlayerEntity playerEntity, ItemStack itemStack)
      Overrides:
      method_3298 in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Ladl;a(Laay;Lafj;)Lafj;
      intermediary method_3298 Lnet/minecraft/class_1026;method_3298(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;)Lnet/minecraft/class_1071;
      named method_3298 Lnet/minecraft/inventory/slot/Slot;method_3298(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
    • canInsert

      public boolean canInsert(ItemStack stack)
      Overrides:
      canInsert in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Ladl;a(Lafj;)Z
      intermediary method_3294 Lnet/minecraft/class_1026;method_3294(Lnet/minecraft/class_1071;)Z
      named canInsert Lnet/minecraft/inventory/slot/Slot;canInsert(Lnet/minecraft/item/ItemStack;)Z
    • getStack

      public ItemStack getStack()
      Overrides:
      getStack in class Slot
      Mappings:
      Namespace Name Mixin selector
      official d Ladl;d()Lafj;
      intermediary method_3299 Lnet/minecraft/class_1026;method_3299()Lnet/minecraft/class_1071;
      named getStack Lnet/minecraft/inventory/slot/Slot;getStack()Lnet/minecraft/item/ItemStack;
    • hasStack

      public boolean hasStack()
      Overrides:
      hasStack in class Slot
      Mappings:
      Namespace Name Mixin selector
      official e Ladl;e()Z
      intermediary method_3301 Lnet/minecraft/class_1026;method_3301()Z
      named hasStack Lnet/minecraft/inventory/slot/Slot;hasStack()Z
    • setStack

      public void setStack(ItemStack stack)
      Overrides:
      setStack in class Slot
      Mappings:
      Namespace Name Mixin selector
      official d Ladl;d(Lafj;)V
      intermediary method_3302 Lnet/minecraft/class_1026;method_3302(Lnet/minecraft/class_1071;)V
      named setStack Lnet/minecraft/inventory/slot/Slot;setStack(Lnet/minecraft/item/ItemStack;)V
    • markDirty

      public void markDirty()
      Overrides:
      markDirty in class Slot
      Mappings:
      Namespace Name Mixin selector
      official f Ladl;f()V
      intermediary method_3303 Lnet/minecraft/class_1026;method_3303()V
      named markDirty Lnet/minecraft/inventory/slot/Slot;markDirty()V
    • getMaxStackAmount

      public int getMaxStackAmount()
      Overrides:
      getMaxStackAmount in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Ladl;a()I
      intermediary method_3291 Lnet/minecraft/class_1026;method_3291()I
      named getMaxStackAmount Lnet/minecraft/inventory/slot/Slot;getMaxStackAmount()I
    • getMaxStackAmount

      public int getMaxStackAmount(ItemStack stack)
      Overrides:
      getMaxStackAmount in class Slot
      Mappings:
      Namespace Name Mixin selector
      official b Ladl;b(Lafj;)I
      intermediary method_11264 Lnet/minecraft/class_1026;method_11264(Lnet/minecraft/class_1071;)I
      named getMaxStackAmount Lnet/minecraft/inventory/slot/Slot;getMaxStackAmount(Lnet/minecraft/item/ItemStack;)I
    • getBackgroundSprite

      @Nullable public String getBackgroundSprite()
      Overrides:
      getBackgroundSprite in class Slot
      Mappings:
      Namespace Name Mixin selector
      official c Ladl;c()Ljava/lang/String;
      intermediary method_11265 Lnet/minecraft/class_1026;method_11265()Ljava/lang/String;
      named getBackgroundSprite Lnet/minecraft/inventory/slot/Slot;getBackgroundSprite()Ljava/lang/String;
    • takeStack

      public ItemStack takeStack(int amount)
      Overrides:
      takeStack in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Ladl;a(I)Lafj;
      intermediary method_3292 Lnet/minecraft/class_1026;method_3292(I)Lnet/minecraft/class_1071;
      named takeStack Lnet/minecraft/inventory/slot/Slot;takeStack(I)Lnet/minecraft/item/ItemStack;
    • equals

      public boolean equals(Inventory inventory, int slot)
      Overrides:
      equals in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Ladl;a(Lrc;I)Z
      intermediary method_3293 Lnet/minecraft/class_1026;method_3293(Lnet/minecraft/class_849;I)Z
      named equals Lnet/minecraft/inventory/slot/Slot;equals(Lnet/minecraft/inventory/Inventory;I)Z
    • doDrawHoveringEffect

      public boolean doDrawHoveringEffect()
      Overrides:
      doDrawHoveringEffect in class Slot
      Mappings:
      Namespace Name Mixin selector
      official b Ladl;b()Z
      intermediary method_6319 Lnet/minecraft/class_1026;method_6319()Z
      named doDrawHoveringEffect Lnet/minecraft/inventory/slot/Slot;doDrawHoveringEffect()Z
    • canTakeItems

      public boolean canTakeItems(PlayerEntity playerEntity)
      Overrides:
      canTakeItems in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Ladl;a(Laay;)Z
      intermediary method_4597 Lnet/minecraft/class_1026;method_4597(Lnet/minecraft/class_988;)Z
      named canTakeItems Lnet/minecraft/inventory/slot/Slot;canTakeItems(Lnet/minecraft/entity/player/PlayerEntity;)Z