Class CraftingResultSlot

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

public class CraftingResultSlot extends Slot
Mappings:
Namespace Name
official aqu
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 Laqu;a:Laqc;
      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 Laqu;b:Laog;
      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 Laqu;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> Laqu;<init>(Laog;Laqc;Lade;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(ItemStack stack)
      Overrides:
      canInsert in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Laqx;a(Late;)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 Laqx;a(I)Late;
      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 Laqx;a(Late;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
    • method_13644

      protected void method_13644(int int2)
      Overrides:
      method_13644 in class Slot
      Mappings:
      Namespace Name Mixin selector
      official b Laqx;b(I)V
      intermediary method_13644 Lnet/minecraft/class_1026;method_13644(I)V
      named method_13644 Lnet/minecraft/inventory/slot/Slot;method_13644(I)V
    • onCrafted

      protected void onCrafted(ItemStack stack)
      Overrides:
      onCrafted in class Slot
      Mappings:
      Namespace Name Mixin selector
      official c Laqx;c(Late;)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
    • method_3298

      public ItemStack method_3298(PlayerEntity playerEntity, ItemStack itemStack)
      Overrides:
      method_3298 in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Laqx;a(Laog;Late;)Late;
      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;