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 crh
-
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>
Lcrr;<init>(Lbqp;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
Lcrr;b(Lcur;Lcur;)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
Lcrr;a(Lcmz;)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
Lcrr;a(IILcmz;)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
Lcrr;b(IILcmz;)Lcur;
-
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
Lcrr;d(Lcur;)Lcur;
-
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
Lcrr;b(Lcur;I)Lcur;
-
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
Lcrr;b(Lcmz;)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
Lcrr;a(Lcmz;Lcur;)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
Lcrr;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
Lcrr;f()Z
-