Package net.minecraft.screen.slot
Class CrafterOutputSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.screen.slot.CrafterOutputSlot
- Mappings:
Namespace Name official cjm
intermediary net/minecraft/class_8883
named net/minecraft/screen/slot/CrafterOutputSlot
-
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 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
- Overrides:
onQuickTransfer
in classSlot
- 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
- Overrides:
canTakeItems
in classSlot
- 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
- Overrides:
tryTakeStackRange
in classSlot
- 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
- Overrides:
takeStackRange
in classSlot
- 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
- Overrides:
insertStack
in classSlot
- 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
- Overrides:
insertStack
in classSlot
- 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
- Overrides:
canTakePartial
in classSlot
- 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
-
takeStack
-
onTakeItem
- Overrides:
onTakeItem
in classSlot
- 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 classSlot
- 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()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 official f
Lcjw;f()Z
intermediary method_55059
Lnet/minecraft/class_1735;method_55059()Z
named disablesDynamicDisplay
Lnet/minecraft/screen/slot/Slot;disablesDynamicDisplay()Z
-