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 - official - acg- intermediary - net/minecraft/class_2955- named - net/minecraft/recipe/InputSlotFiller
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected AbstractRecipeScreenHandler<C>protected PlayerInventoryprivate static final Loggerprotected final RecipeMatcher
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidacceptAlignedInput(Iterator<Integer> inputs, int slot, int amount, int gridX, int gridY) private booleanprotected voidfillInputSlot(Slot slot, ItemStack stack) protected voidfillInputSlots(Recipe<C> recipe, boolean craftAll) voidfillInputSlots(ServerPlayerEntity entity, @Nullable Recipe<C> recipe, boolean craftAll) protected intgetAmountToFill(boolean craftAll, int limit, boolean recipeInCraftingSlots) private intprotected voidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.RecipeGridAligneralignRecipeToGrid
- 
Field Details- 
LOGGER- Mappings:
- Namespace - Name - Mixin selector - official - d- Lacg;d:Lorg/slf4j/Logger;- intermediary - field_13349- Lnet/minecraft/class_2955;field_13349:Lorg/slf4j/Logger;- named - LOGGER- Lnet/minecraft/recipe/InputSlotFiller;LOGGER:Lorg/slf4j/Logger;
 
- 
matcher- Mappings:
- Namespace - Name - Mixin selector - official - a- Lacg;a:Lbys;- intermediary - field_13347- Lnet/minecraft/class_2955;field_13347:Lnet/minecraft/class_1662;- named - matcher- Lnet/minecraft/recipe/InputSlotFiller;matcher:Lnet/minecraft/recipe/RecipeMatcher;
 
- 
inventory- Mappings:
- Namespace - Name - Mixin selector - official - b- Lacg;b:Lbyn;- intermediary - field_13350- Lnet/minecraft/class_2955;field_13350:Lnet/minecraft/class_1661;- named - inventory- Lnet/minecraft/recipe/InputSlotFiller;inventory:Lnet/minecraft/entity/player/PlayerInventory;
 
- 
handler- Mappings:
- Namespace - Name - Mixin selector - official - c- Lacg;c:Lccp;- intermediary - field_13348- Lnet/minecraft/class_2955;field_13348:Lnet/minecraft/class_1729;- named - handler- Lnet/minecraft/recipe/InputSlotFiller;handler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
 
 
- 
- 
Constructor Details- 
InputSlotFiller- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lacg;<init>(Lccp;)V- intermediary - <init>- Lnet/minecraft/class_2955;<init>(Lnet/minecraft/class_1729;)V- named - <init>- Lnet/minecraft/recipe/InputSlotFiller;<init>(Lnet/minecraft/screen/AbstractRecipeScreenHandler;)V
 
 
- 
- 
Method Details- 
fillInputSlotspublic void fillInputSlots(ServerPlayerEntity entity, @Nullable @Nullable Recipe<C> recipe, boolean craftAll) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lacg;a(Laig;Lcjc;Z)V- intermediary - method_12826- Lnet/minecraft/class_2955;method_12826(Lnet/minecraft/class_3222;Lnet/minecraft/class_1860;Z)V- named - fillInputSlots- Lnet/minecraft/recipe/InputSlotFiller;fillInputSlots(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/recipe/Recipe;Z)V
 
- 
returnInputsprotected void returnInputs()- Mappings:
- Namespace - Name - Mixin selector - official - a- Lacg;a()V- intermediary - method_12822- Lnet/minecraft/class_2955;method_12822()V- named - returnInputs- Lnet/minecraft/recipe/InputSlotFiller;returnInputs()V
 
- 
fillInputSlots- Mappings:
- Namespace - Name - Mixin selector - official - a- Lacg;a(Lcjc;Z)V- intermediary - method_12821- Lnet/minecraft/class_2955;method_12821(Lnet/minecraft/class_1860;Z)V- named - fillInputSlots- Lnet/minecraft/recipe/InputSlotFiller;fillInputSlots(Lnet/minecraft/recipe/Recipe;Z)V
 
- 
acceptAlignedInputpublic void acceptAlignedInput(Iterator<Integer> inputs, int slot, int amount, int gridX, int gridY) - Specified by:
- acceptAlignedInputin interface- RecipeGridAligner<C extends Inventory>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lacf;a(Ljava/util/Iterator;IIII)V- intermediary - method_12815- Lnet/minecraft/class_2952;method_12815(Ljava/util/Iterator;IIII)V- named - acceptAlignedInput- Lnet/minecraft/recipe/RecipeGridAligner;acceptAlignedInput(Ljava/util/Iterator;IIII)V
 
- 
getAmountToFillprotected int getAmountToFill(boolean craftAll, int limit, boolean recipeInCraftingSlots) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lacg;a(ZIZ)I- intermediary - method_12819- Lnet/minecraft/class_2955;method_12819(ZIZ)I- named - getAmountToFill- Lnet/minecraft/recipe/InputSlotFiller;getAmountToFill(ZIZ)I
 
- 
fillInputSlot- Mappings:
- Namespace - Name - Mixin selector - official - a- Lacg;a(Lccx;Lcfz;)V- intermediary - method_12824- Lnet/minecraft/class_2955;method_12824(Lnet/minecraft/class_1735;Lnet/minecraft/class_1799;)V- named - fillInputSlot- Lnet/minecraft/recipe/InputSlotFiller;fillInputSlot(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/item/ItemStack;)V
 
- 
canReturnInputsprivate boolean canReturnInputs()- Mappings:
- Namespace - Name - Mixin selector - official - b- Lacg;b()Z- intermediary - method_12825- Lnet/minecraft/class_2955;method_12825()Z- named - canReturnInputs- Lnet/minecraft/recipe/InputSlotFiller;canReturnInputs()Z
 
- 
getFreeInventorySlotsprivate int getFreeInventorySlots()- Mappings:
- Namespace - Name - Mixin selector - official - c- Lacg;c()I- intermediary - method_12823- Lnet/minecraft/class_2955;method_12823()I- named - getFreeInventorySlots- Lnet/minecraft/recipe/InputSlotFiller;getFreeInventorySlots()I
 
 
-