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 cuo
  • 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> Lcuy;<init>(Lbtb;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 Lcuy;b(Lcxo;Lcxo;)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 Lcuy;a(Lcpw;)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 Lcuy;a(IILcpw;)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 Lcuy;b(IILcpw;)Lcxo;
    • 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 Lcuy;d(Lcxo;)Lcxo;
    • 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 Lcuy;b(Lcxo;I)Lcxo;
    • 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 Lcuy;b(Lcpw;)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 Lcuy;a(Lcxo;)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 Lcuy;a(I)Lcxo;
    • 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 Lcuy;a(Lcpw;Lcxo;)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 Lcuy;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 Lcuy;f()Z