Class CraftingResultSlot

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

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

    • input

      private final RecipeInputInventory input
      Mappings:
      Namespace Name Mixin selector
      named input Lnet/minecraft/screen/slot/CraftingResultSlot;input:Lnet/minecraft/inventory/RecipeInputInventory;
      intermediary field_7870 Lnet/minecraft/class_1734;field_7870:Lnet/minecraft/class_8566;
      official a Lcrm;a:Lcql;
    • player

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

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

    • CraftingResultSlot

      public CraftingResultSlot(PlayerEntity player, RecipeInputInventory input, Inventory inventory, int index, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/screen/slot/CraftingResultSlot;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/inventory/RecipeInputInventory;Lnet/minecraft/inventory/Inventory;III)V
      intermediary <init> Lnet/minecraft/class_1734;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_8566;Lnet/minecraft/class_1263;III)V
      official <init> Lcrm;<init>(Lcmy;Lcql;Lbqo;III)V
  • Method Details

    • 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 Lcrq;a(Lcuq;)Z
    • takeStack

      public ItemStack takeStack(int amount)
      Overrides:
      takeStack in class Slot
      Mappings:
      Namespace Name Mixin selector
      named takeStack Lnet/minecraft/screen/slot/Slot;takeStack(I)Lnet/minecraft/item/ItemStack;
      intermediary method_7671 Lnet/minecraft/class_1735;method_7671(I)Lnet/minecraft/class_1799;
      official a Lcrq;a(I)Lcuq;
    • onCrafted

      protected void onCrafted(ItemStack stack, int amount)
      Overrides:
      onCrafted in class Slot
      Mappings:
      Namespace Name Mixin selector
      named onCrafted Lnet/minecraft/screen/slot/Slot;onCrafted(Lnet/minecraft/item/ItemStack;I)V
      intermediary method_7678 Lnet/minecraft/class_1735;method_7678(Lnet/minecraft/class_1799;I)V
      official a Lcrq;a(Lcuq;I)V
    • onTake

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

      protected void onCrafted(ItemStack stack)
      Overrides:
      onCrafted in class Slot
      Mappings:
      Namespace Name Mixin selector
      named onCrafted Lnet/minecraft/screen/slot/Slot;onCrafted(Lnet/minecraft/item/ItemStack;)V
      intermediary method_7669 Lnet/minecraft/class_1735;method_7669(Lnet/minecraft/class_1799;)V
      official b_ Lcrq;b_(Lcuq;)V
    • onTakeItem

      public void onTakeItem(PlayerEntity player, ItemStack stack)
      Overrides:
      onTakeItem in class Slot
      Mappings:
      Namespace Name Mixin selector
      named onTakeItem Lnet/minecraft/screen/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)V
      intermediary method_7667 Lnet/minecraft/class_1735;method_7667(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)V
      official a Lcrq;a(Lcmy;Lcuq;)V
    • disablesDynamicDisplay

      public boolean disablesDynamicDisplay()
      Returns true to disable dynamic display for clocks and compasses.
      Overrides:
      disablesDynamicDisplay in class Slot
      Returns:
      true to disable dynamic display for clocks and compasses
      Mappings:
      Namespace Name Mixin selector
      named disablesDynamicDisplay Lnet/minecraft/screen/slot/Slot;disablesDynamicDisplay()Z
      intermediary method_55059 Lnet/minecraft/class_1735;method_55059()Z
      official f Lcrq;f()Z