Class CrafterOutputSlot

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

public class CrafterOutputSlot extends Slot
Mappings:
Namespace Name
named net/minecraft/screen/slot/CrafterOutputSlot
intermediary net/minecraft/class_8883
official crg
  • Constructor Details

    • CrafterOutputSlot

      public CrafterOutputSlot(Inventory inventory, int index, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/screen/slot/Slot;<init>(Lnet/minecraft/inventory/Inventory;III)V
      intermediary <init> Lnet/minecraft/class_1735;<init>(Lnet/minecraft/class_1263;III)V
      official <init> Lcrq;<init>(Lbqo;III)V
  • Method Details

    • onQuickTransfer

      public void onQuickTransfer(ItemStack newItem, ItemStack original)
      Overrides:
      onQuickTransfer in class Slot
      Mappings:
      Namespace Name Mixin selector
      named onQuickTransfer Lnet/minecraft/screen/slot/Slot;onQuickTransfer(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
      intermediary method_7670 Lnet/minecraft/class_1735;method_7670(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V
      official b Lcrq;b(Lcuq;Lcuq;)V
    • canTakeItems

      public boolean canTakeItems(PlayerEntity playerEntity)
      Overrides:
      canTakeItems in class Slot
      Mappings:
      Namespace Name Mixin selector
      named canTakeItems Lnet/minecraft/screen/slot/Slot;canTakeItems(Lnet/minecraft/entity/player/PlayerEntity;)Z
      intermediary method_7674 Lnet/minecraft/class_1735;method_7674(Lnet/minecraft/class_1657;)Z
      official a Lcrq;a(Lcmy;)Z
    • tryTakeStackRange

      public Optional<ItemStack> tryTakeStackRange(int min, int max, PlayerEntity player)
      Overrides:
      tryTakeStackRange in class Slot
      Mappings:
      Namespace Name Mixin selector
      named tryTakeStackRange Lnet/minecraft/screen/slot/Slot;tryTakeStackRange(IILnet/minecraft/entity/player/PlayerEntity;)Ljava/util/Optional;
      intermediary method_34264 Lnet/minecraft/class_1735;method_34264(IILnet/minecraft/class_1657;)Ljava/util/Optional;
      official a Lcrq;a(IILcmy;)Ljava/util/Optional;
    • takeStackRange

      public ItemStack takeStackRange(int min, int max, PlayerEntity player)
      Overrides:
      takeStackRange in class Slot
      Mappings:
      Namespace Name Mixin selector
      named takeStackRange Lnet/minecraft/screen/slot/Slot;takeStackRange(IILnet/minecraft/entity/player/PlayerEntity;)Lnet/minecraft/item/ItemStack;
      intermediary method_32753 Lnet/minecraft/class_1735;method_32753(IILnet/minecraft/class_1657;)Lnet/minecraft/class_1799;
      official b Lcrq;b(IILcmy;)Lcuq;
    • insertStack

      public ItemStack insertStack(ItemStack stack)
      Overrides:
      insertStack in class Slot
      Mappings:
      Namespace Name Mixin selector
      named insertStack Lnet/minecraft/screen/slot/Slot;insertStack(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
      intermediary method_32756 Lnet/minecraft/class_1735;method_32756(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
      official d Lcrq;d(Lcuq;)Lcuq;
    • insertStack

      public ItemStack insertStack(ItemStack stack, int count)
      Overrides:
      insertStack in class Slot
      Mappings:
      Namespace Name Mixin selector
      named insertStack Lnet/minecraft/screen/slot/Slot;insertStack(Lnet/minecraft/item/ItemStack;I)Lnet/minecraft/item/ItemStack;
      intermediary method_32755 Lnet/minecraft/class_1735;method_32755(Lnet/minecraft/class_1799;I)Lnet/minecraft/class_1799;
      official b Lcrq;b(Lcuq;I)Lcuq;
    • canTakePartial

      public boolean canTakePartial(PlayerEntity player)
      Overrides:
      canTakePartial in class Slot
      Mappings:
      Namespace Name Mixin selector
      named canTakePartial Lnet/minecraft/screen/slot/Slot;canTakePartial(Lnet/minecraft/entity/player/PlayerEntity;)Z
      intermediary method_32754 Lnet/minecraft/class_1735;method_32754(Lnet/minecraft/class_1657;)Z
      official b Lcrq;b(Lcmy;)Z
    • 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;
    • 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
    • canBeHighlighted

      public boolean canBeHighlighted()
      Overrides:
      canBeHighlighted in class Slot
      Mappings:
      Namespace Name Mixin selector
      named canBeHighlighted Lnet/minecraft/screen/slot/Slot;canBeHighlighted()Z
      intermediary method_51306 Lnet/minecraft/class_1735;method_51306()Z
      official e Lcrq;e()Z
    • 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