Package net.minecraft.screen.slot
Class CrafterOutputSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.screen.slot.CrafterOutputSlot
- Mappings:
Namespace Name named net/minecraft/screen/slot/CrafterOutputSlot
intermediary net/minecraft/class_8883
official cuo
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
canTakeItems
(PlayerEntity playerEntity) boolean
canTakePartial
(PlayerEntity player) boolean
Returnstrue
to disable dynamic display for clocks and compasses.insertStack
(ItemStack stack) insertStack
(ItemStack stack, int count) void
onQuickTransfer
(ItemStack newItem, ItemStack original) void
onTakeItem
(PlayerEntity player, ItemStack stack) takeStack
(int amount) takeStackRange
(int min, int max, PlayerEntity player) tryTakeStackRange
(int min, int max, PlayerEntity player) Methods inherited from class net.minecraft.screen.slot.Slot
getBackgroundSprite, getIndex, getMaxItemCount, getMaxItemCount, getStack, hasStack, isEnabled, markDirty, onCrafted, onCrafted, onTake, setStack, setStack, setStackNoCallbacks
-
Constructor Details
-
CrafterOutputSlot
- 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
- Overrides:
onQuickTransfer
in classSlot
- 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
- Overrides:
canTakeItems
in classSlot
- 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
- Overrides:
tryTakeStackRange
in classSlot
- 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
- Overrides:
takeStackRange
in classSlot
- 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
- Overrides:
insertStack
in classSlot
- 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
- Overrides:
insertStack
in classSlot
- 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
- Overrides:
canTakePartial
in classSlot
- 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
-
takeStack
-
onTakeItem
- Overrides:
onTakeItem
in classSlot
- 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 classSlot
- 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()Returnstrue
to disable dynamic display for clocks and compasses.- Overrides:
disablesDynamicDisplay
in classSlot
- 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
-