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/CraftingResultSlotintermediary net/minecraft/class_1734official dfa
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate final RecipeInputInventoryprivate final PlayerEntity -
Constructor Summary
ConstructorsConstructorDescriptionCraftingResultSlot(PlayerEntity player, RecipeInputInventory input, Inventory inventory, int index, int x, int y) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprivate static DefaultedList<ItemStack> copyInput(CraftingRecipeInput input) booleanReturnstrueto disable dynamic display for clocks and compasses.private DefaultedList<ItemStack> getRecipeRemainders(CraftingRecipeInput input, World world) protected voidprotected voidprotected voidonTake(int amount) voidonTakeItem(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 inputLnet/minecraft/screen/slot/CraftingResultSlot;input:Lnet/minecraft/inventory/RecipeInputInventory;intermediary field_7870Lnet/minecraft/class_1734;field_7870:Lnet/minecraft/class_8566;official aLdfa;a:Lddy;
-
player
- Mappings:
Namespace Name Mixin selector named playerLnet/minecraft/screen/slot/CraftingResultSlot;player:Lnet/minecraft/entity/player/PlayerEntity;intermediary field_7868Lnet/minecraft/class_1734;field_7868:Lnet/minecraft/class_1657;official bLdfa;b:Lczl;
-
amount
private int amount- Mappings:
Namespace Name Mixin selector named amountLnet/minecraft/screen/slot/CraftingResultSlot;amount:Iintermediary field_7869Lnet/minecraft/class_1734;field_7869:Iofficial gLdfa;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)Vintermediary <init>Lnet/minecraft/class_1734;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_8566;Lnet/minecraft/class_1263;III)Vofficial <init>Ldfa;<init>(Lczl;Lddy;Lcbj;III)V
-
-
Method Details
-
canInsert
-
takeStack
-
onCrafted
-
onTake
protected void onTake(int amount) -
onCrafted
-
copyInput
- Mappings:
Namespace Name Mixin selector named copyInputLnet/minecraft/screen/slot/CraftingResultSlot;copyInput(Lnet/minecraft/recipe/input/CraftingRecipeInput;)Lnet/minecraft/util/collection/DefaultedList;intermediary method_64648Lnet/minecraft/class_1734;method_64648(Lnet/minecraft/class_9694;)Lnet/minecraft/class_2371;official aLdfa;a(Ldlw;)Ljt;
-
getRecipeRemainders
- Mappings:
Namespace Name Mixin selector named getRecipeRemaindersLnet/minecraft/screen/slot/CraftingResultSlot;getRecipeRemainders(Lnet/minecraft/recipe/input/CraftingRecipeInput;Lnet/minecraft/world/World;)Lnet/minecraft/util/collection/DefaultedList;intermediary method_64650Lnet/minecraft/class_1734;method_64650(Lnet/minecraft/class_9694;Lnet/minecraft/class_1937;)Lnet/minecraft/class_2371;official aLdfa;a(Ldlw;Ldrq;)Ljt;
-
onTakeItem
- Overrides:
onTakeItemin classSlot- Mappings:
Namespace Name Mixin selector named onTakeItemLnet/minecraft/screen/slot/Slot;onTakeItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;)Vintermediary method_7667Lnet/minecraft/class_1735;method_7667(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;)Vofficial aLdfe;a(Lczl;Ldhp;)V
-
disablesDynamicDisplay
public boolean disablesDynamicDisplay()Returnstrueto disable dynamic display for clocks and compasses.- Overrides:
disablesDynamicDisplayin classSlot- Returns:
trueto disable dynamic display for clocks and compasses- Mappings:
Namespace Name Mixin selector named disablesDynamicDisplayLnet/minecraft/screen/slot/Slot;disablesDynamicDisplay()Zintermediary method_55059Lnet/minecraft/class_1735;method_55059()Zofficial fLdfe;f()Z
-