Class CraftingResultSlot

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

public class CraftingResultSlot extends Slot
Mappings:
Namespace Name
official ccn
intermediary net/minecraft/class_1734
named net/minecraft/screen/slot/CraftingResultSlot
  • Field Details

    • input

      private final CraftingInventory input
      Mappings:
      Namespace Name Mixin selector
      official a Lccn;a:Lcbn;
      intermediary field_7870 Lnet/minecraft/class_1734;field_7870:Lnet/minecraft/class_1715;
      named input Lnet/minecraft/screen/slot/CraftingResultSlot;input:Lnet/minecraft/inventory/CraftingInventory;
    • player

      private final PlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      official b Lccn;b:Lbyi;
      intermediary field_7868 Lnet/minecraft/class_1734;field_7868:Lnet/minecraft/class_1657;
      named player Lnet/minecraft/screen/slot/CraftingResultSlot;player:Lnet/minecraft/entity/player/PlayerEntity;
    • amount

      private int amount
      Mappings:
      Namespace Name Mixin selector
      official c Lccn;c:I
      intermediary field_7869 Lnet/minecraft/class_1734;field_7869:I
      named amount Lnet/minecraft/screen/slot/CraftingResultSlot;amount:I
  • Constructor Details

    • CraftingResultSlot

      public CraftingResultSlot(PlayerEntity player, CraftingInventory input, Inventory inventory, int index, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lccn;<init>(Lbyi;Lcbn;Lbdn;III)V
      intermediary <init> Lnet/minecraft/class_1734;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_1715;Lnet/minecraft/class_1263;III)V
      named <init> Lnet/minecraft/screen/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 Lccr;a(Lcfs;)Z
      intermediary method_7680 Lnet/minecraft/class_1735;method_7680(Lnet/minecraft/class_1799;)Z
      named canInsert Lnet/minecraft/screen/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 Lccr;a(I)Lcfs;
      intermediary method_7671 Lnet/minecraft/class_1735;method_7671(I)Lnet/minecraft/class_1799;
      named takeStack Lnet/minecraft/screen/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 Lccr;a(Lcfs;I)V
      intermediary method_7678 Lnet/minecraft/class_1735;method_7678(Lnet/minecraft/class_1799;I)V
      named onCrafted Lnet/minecraft/screen/slot/Slot;onCrafted(Lnet/minecraft/item/ItemStack;I)V
    • onTake

      protected void onTake(int amount)
      Overrides:
      onTake in class Slot
      Mappings:
      Namespace Name Mixin selector
      official b Lccr;b(I)V
      intermediary method_7672 Lnet/minecraft/class_1735;method_7672(I)V
      named onTake Lnet/minecraft/screen/slot/Slot;onTake(I)V
    • onCrafted

      protected void onCrafted(ItemStack stack)
      Overrides:
      onCrafted in class Slot
      Mappings:
      Namespace Name Mixin selector
      official b_ Lccr;b_(Lcfs;)V
      intermediary method_7669 Lnet/minecraft/class_1735;method_7669(Lnet/minecraft/class_1799;)V
      named onCrafted Lnet/minecraft/screen/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 Lccr;a(Lbyi;Lcfs;)V
      intermediary method_7667 Lnet/minecraft/class_1735;method_7667(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
      named onTakeItem Lnet/minecraft/screen/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V