Class CraftingResultSlot

java.lang.Object
net.minecraft.inventory.slot.Slot
net.minecraft.inventory.slot.CraftingResultSlot

public class CraftingResultSlot extends Slot
Mappings:
Namespace Name
official abs
intermediary net/minecraft/class_1025
named net/minecraft/inventory/slot/CraftingResultSlot
  • Field Details

    • craftingInv

      private final CraftingInventory craftingInv
      Mappings:
      Namespace Name Mixin selector
      official a Labs;a:Labc;
      intermediary field_12153 Lnet/minecraft/class_1025;field_12153:Lnet/minecraft/class_1011;
      named craftingInv Lnet/minecraft/inventory/slot/CraftingResultSlot;craftingInv:Lnet/minecraft/inventory/CraftingInventory;
    • player

      private final PlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      official b Labs;b:Lzj;
      intermediary field_4148 Lnet/minecraft/class_1025;field_4148:Lnet/minecraft/class_988;
      named player Lnet/minecraft/inventory/slot/CraftingResultSlot;player:Lnet/minecraft/entity/player/PlayerEntity;
    • amount

      private int amount
      Mappings:
      Namespace Name Mixin selector
      official c Labs;c:I
      intermediary field_4149 Lnet/minecraft/class_1025;field_4149:I
      named amount Lnet/minecraft/inventory/slot/CraftingResultSlot;amount:I
  • Constructor Details

    • CraftingResultSlot

      public CraftingResultSlot(PlayerEntity player, CraftingInventory craftingInv, Inventory inventory, int invSlot, int xPosition, int yPosition)
      Mappings:
      Namespace Name Mixin selector
      official <init> Labs;<init>(Lzj;Labc;Lqg;III)V
      intermediary <init> Lnet/minecraft/class_1025;<init>(Lnet/minecraft/class_988;Lnet/minecraft/class_1011;Lnet/minecraft/class_849;III)V
      named <init> Lnet/minecraft/inventory/slot/CraftingResultSlot;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/inventory/CraftingInventory;Lnet/minecraft/inventory/Inventory;III)V
  • Method Details

    • canInsert

      public boolean canInsert(@Nullable ItemStack stack)
      Overrides:
      canInsert in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Labt;a(Ladq;)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
    • takeStack

      public ItemStack takeStack(int amount)
      Overrides:
      takeStack in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Labt;a(I)Ladq;
      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;
    • onCrafted

      protected void onCrafted(ItemStack stack, int amount)
      Overrides:
      onCrafted in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Labt;a(Ladq;I)V
      intermediary method_3295 Lnet/minecraft/class_1026;method_3295(Lnet/minecraft/class_1071;I)V
      named onCrafted Lnet/minecraft/inventory/slot/Slot;onCrafted(Lnet/minecraft/item/ItemStack;I)V
    • onCrafted

      protected void onCrafted(ItemStack stack)
      Overrides:
      onCrafted in class Slot
      Mappings:
      Namespace Name Mixin selector
      official c Labt;c(Ladq;)V
      intermediary method_3300 Lnet/minecraft/class_1026;method_3300(Lnet/minecraft/class_1071;)V
      named onCrafted Lnet/minecraft/inventory/slot/Slot;onCrafted(Lnet/minecraft/item/ItemStack;)V
    • onTakeItem

      public void onTakeItem(PlayerEntity player, ItemStack stack)
      Overrides:
      onTakeItem in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Labt;a(Lzj;Ladq;)V
      intermediary method_3298 Lnet/minecraft/class_1026;method_3298(Lnet/minecraft/class_988;Lnet/minecraft/class_1071;)V
      named onTakeItem Lnet/minecraft/inventory/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V