Class CrafterOutputSlot

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

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

    • CrafterOutputSlot

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

    • onQuickTransfer

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

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

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

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

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

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

      public boolean canTakePartial(PlayerEntity player)
      Overrides:
      canTakePartial in class Slot
      Mappings:
      Namespace Name Mixin selector
      official b Lcjw;b(Lcfi;)Z
      intermediary method_32754 Lnet/minecraft/class_1735;method_32754(Lnet/minecraft/class_1657;)Z
      named canTakePartial Lnet/minecraft/screen/slot/Slot;canTakePartial(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • canInsert

      public boolean canInsert(ItemStack stack)
      Overrides:
      canInsert in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lcmy;)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 Lcjw;a(I)Lcmy;
      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;
    • onTakeItem

      public void onTakeItem(PlayerEntity player, ItemStack stack)
      Overrides:
      onTakeItem in class Slot
      Mappings:
      Namespace Name Mixin selector
      official a Lcjw;a(Lcfi;Lcmy;)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
    • canBeHighlighted

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