Package net.minecraft.recipe
Class InputSlotFiller<C extends Inventory>
java.lang.Object
net.minecraft.recipe.InputSlotFiller<C>
- All Implemented Interfaces:
RecipeGridAligner<Integer>
public class InputSlotFiller<C extends Inventory>
extends Object
implements RecipeGridAligner<Integer>
- Mappings:
Namespace Name named net/minecraft/recipe/InputSlotFiller
intermediary net/minecraft/class_2955
official akt
-
Field Summary
Modifier and TypeFieldDescriptionprotected AbstractRecipeScreenHandler
<C> protected PlayerInventory
private static final Logger
protected final RecipeMatcher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptAlignedInput
(Iterator<Integer> inputs, int slot, int amount, int gridX, int gridY) private boolean
protected void
fillInputSlot
(Slot slot, ItemStack stack) protected void
fillInputSlots
(RecipeEntry<? extends Recipe<C>> recipe, boolean craftAll) void
fillInputSlots
(ServerPlayerEntity entity, @Nullable RecipeEntry<? extends Recipe<C>> recipe, boolean craftAll) protected int
getAmountToFill
(boolean craftAll, int limit, boolean recipeInCraftingSlots) private int
protected void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.recipe.RecipeGridAligner
alignRecipeToGrid
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/recipe/InputSlotFiller;LOGGER:Lorg/slf4j/Logger;
intermediary field_13349
Lnet/minecraft/class_2955;field_13349:Lorg/slf4j/Logger;
official d
Lakt;d:Lorg/slf4j/Logger;
-
matcher
- Mappings:
Namespace Name Mixin selector named matcher
Lnet/minecraft/recipe/InputSlotFiller;matcher:Lnet/minecraft/recipe/RecipeMatcher;
intermediary field_13347
Lnet/minecraft/class_2955;field_13347:Lnet/minecraft/class_1662;
official a
Lakt;a:Lcnd;
-
inventory
- Mappings:
Namespace Name Mixin selector named inventory
Lnet/minecraft/recipe/InputSlotFiller;inventory:Lnet/minecraft/entity/player/PlayerInventory;
intermediary field_13350
Lnet/minecraft/class_2955;field_13350:Lnet/minecraft/class_1661;
official b
Lakt;b:Lcmy;
-
handler
- Mappings:
Namespace Name Mixin selector named handler
Lnet/minecraft/recipe/InputSlotFiller;handler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
intermediary field_13348
Lnet/minecraft/class_2955;field_13348:Lnet/minecraft/class_1729;
official c
Lakt;c:Lcrj;
-
-
Constructor Details
-
InputSlotFiller
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/recipe/InputSlotFiller;<init>(Lnet/minecraft/screen/AbstractRecipeScreenHandler;)V
intermediary <init>
Lnet/minecraft/class_2955;<init>(Lnet/minecraft/class_1729;)V
official <init>
Lakt;<init>(Lcrj;)V
-
-
Method Details
-
fillInputSlots
public void fillInputSlots(ServerPlayerEntity entity, @Nullable @Nullable RecipeEntry<? extends Recipe<C>> recipe, boolean craftAll) - Mappings:
Namespace Name Mixin selector named fillInputSlots
Lnet/minecraft/recipe/InputSlotFiller;fillInputSlots(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/recipe/RecipeEntry;Z)V
intermediary method_12826
Lnet/minecraft/class_2955;method_12826(Lnet/minecraft/class_3222;Lnet/minecraft/class_8786;Z)V
official a
Lakt;a(Larg;Lcyz;Z)V
-
returnInputs
protected void returnInputs()- Mappings:
Namespace Name Mixin selector named returnInputs
Lnet/minecraft/recipe/InputSlotFiller;returnInputs()V
intermediary method_12822
Lnet/minecraft/class_2955;method_12822()V
official a
Lakt;a()V
-
fillInputSlots
- Mappings:
Namespace Name Mixin selector named fillInputSlots
Lnet/minecraft/recipe/InputSlotFiller;fillInputSlots(Lnet/minecraft/recipe/RecipeEntry;Z)V
intermediary method_12821
Lnet/minecraft/class_2955;method_12821(Lnet/minecraft/class_8786;Z)V
official a
Lakt;a(Lcyz;Z)V
-
acceptAlignedInput
public void acceptAlignedInput(Iterator<Integer> inputs, int slot, int amount, int gridX, int gridY) - Specified by:
acceptAlignedInput
in interfaceRecipeGridAligner<C extends Inventory>
- Mappings:
Namespace Name Mixin selector named acceptAlignedInput
Lnet/minecraft/recipe/RecipeGridAligner;acceptAlignedInput(Ljava/util/Iterator;IIII)V
intermediary method_12815
Lnet/minecraft/class_2952;method_12815(Ljava/util/Iterator;IIII)V
official a
Laks;a(Ljava/util/Iterator;IIII)V
-
getAmountToFill
protected int getAmountToFill(boolean craftAll, int limit, boolean recipeInCraftingSlots) - Mappings:
Namespace Name Mixin selector named getAmountToFill
Lnet/minecraft/recipe/InputSlotFiller;getAmountToFill(ZIZ)I
intermediary method_12819
Lnet/minecraft/class_2955;method_12819(ZIZ)I
official a
Lakt;a(ZIZ)I
-
fillInputSlot
- Mappings:
Namespace Name Mixin selector named fillInputSlot
Lnet/minecraft/recipe/InputSlotFiller;fillInputSlot(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/item/ItemStack;)V
intermediary method_12824
Lnet/minecraft/class_2955;method_12824(Lnet/minecraft/class_1735;Lnet/minecraft/class_1799;)V
official a
Lakt;a(Lcrr;Lcur;)V
-
canReturnInputs
private boolean canReturnInputs()- Mappings:
Namespace Name Mixin selector named canReturnInputs
Lnet/minecraft/recipe/InputSlotFiller;canReturnInputs()Z
intermediary method_12825
Lnet/minecraft/class_2955;method_12825()Z
official b
Lakt;b()Z
-
getFreeInventorySlots
private int getFreeInventorySlots()- Mappings:
Namespace Name Mixin selector named getFreeInventorySlots
Lnet/minecraft/recipe/InputSlotFiller;getFreeInventorySlots()I
intermediary method_12823
Lnet/minecraft/class_2955;method_12823()I
official c
Lakt;c()I
-