Package net.minecraft.screen.slot
Class CraftingResultSlot
java.lang.Object
net.minecraft.screen.slot.Slot
net.minecraft.screen.slot.CraftingResultSlot
- Mappings:
Namespace Name named net/minecraft/screen/slot/CraftingResultSlot
intermediary net/minecraft/class_1734
official crk
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private final RecipeInputInventory
private final PlayerEntity
-
Constructor Summary
ConstructorDescriptionCraftingResultSlot
(PlayerEntity player, RecipeInputInventory input, Inventory inventory, int index, int x, int y) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Returnstrue
to disable dynamic display for clocks and compasses.protected void
protected void
protected void
onTake
(int amount) void
onTakeItem
(PlayerEntity player, ItemStack stack) takeStack
(int amount) Methods inherited from class net.minecraft.screen.slot.Slot
canBeHighlighted, canTakeItems, canTakePartial, getBackgroundSprite, getIndex, getMaxItemCount, getMaxItemCount, getStack, hasStack, insertStack, insertStack, isEnabled, markDirty, onQuickTransfer, setStack, setStack, setStackNoCallbacks, takeStackRange, tryTakeStackRange
-
Field Details
-
input
- Mappings:
Namespace Name Mixin selector named input
Lnet/minecraft/screen/slot/CraftingResultSlot;input:Lnet/minecraft/inventory/RecipeInputInventory;
intermediary field_7870
Lnet/minecraft/class_1734;field_7870:Lnet/minecraft/class_8566;
official a
Lcrk;a:Lcqj;
-
player
- Mappings:
Namespace Name Mixin selector named player
Lnet/minecraft/screen/slot/CraftingResultSlot;player:Lnet/minecraft/entity/player/PlayerEntity;
intermediary field_7868
Lnet/minecraft/class_1734;field_7868:Lnet/minecraft/class_1657;
official b
Lcrk;b:Lcmv;
-
amount
private int amount- Mappings:
Namespace Name Mixin selector named amount
Lnet/minecraft/screen/slot/CraftingResultSlot;amount:I
intermediary field_7869
Lnet/minecraft/class_1734;field_7869:I
official g
Lcrk;g:I
-
-
Constructor Details
-
CraftingResultSlot
public CraftingResultSlot(PlayerEntity player, RecipeInputInventory input, Inventory inventory, int index, int x, int y) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/screen/slot/CraftingResultSlot;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/inventory/RecipeInputInventory;Lnet/minecraft/inventory/Inventory;III)V
intermediary <init>
Lnet/minecraft/class_1734;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_8566;Lnet/minecraft/class_1263;III)V
official <init>
Lcrk;<init>(Lcmv;Lcqj;Lbqj;III)V
-
-
Method Details
-
canInsert
-
takeStack
-
onCrafted
-
onTake
protected void onTake(int amount) -
onCrafted
-
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
Lcro;a(Lcmv;Lcuo;)V
-
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
Lcro;f()Z
-