Package net.minecraft.recipe
Class InputSlotFiller<R extends Recipe<?>>
java.lang.Object
net.minecraft.recipe.InputSlotFiller<R>
- Mappings:
- Namespace - Name - named - net/minecraft/recipe/InputSlotFiller- intermediary - net/minecraft/class_2955- official - akh
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final booleanprivate static final intprivate final InputSlotFiller.Handler<R> private final intprivate final PlayerInventoryprivate final int
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateInputSlotFiller(InputSlotFiller.Handler<R> handler, PlayerInventory inventory, boolean craftAll, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate intcalculateCraftAmount(int forCraftAll, boolean match) private booleanprivate static intclampToMaxCount(int count, List<RegistryEntry<Item>> entries) static <I extends RecipeInput,R extends Recipe<I>> 
 AbstractRecipeScreenHandler.PostFillActionfill(InputSlotFiller.Handler<R> handler, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn, PlayerInventory inventory, RecipeEntry<R> recipe, boolean craftAll, boolean creative) private voidfill(RecipeEntry<R> recipe, RecipeFinder finder) private intfillInputSlot(Slot slot, RegistryEntry<Item> item, int count) private intprivate voidtryFill(RecipeEntry<R> recipe, RecipeFinder finder) 
- 
Field Details- 
field_51523private static final int field_51523- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_51523- Lnet/minecraft/recipe/InputSlotFiller;field_51523:I- intermediary - field_51523- Lnet/minecraft/class_2955;field_51523:I- official - a- Lakh;a:I
 
- 
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- Lakh;b:Lcox;
 
- 
handler- Mappings:
- Namespace - Name - Mixin selector - named - handler- Lnet/minecraft/recipe/InputSlotFiller;handler:Lnet/minecraft/recipe/InputSlotFiller$Handler;- intermediary - field_13348- Lnet/minecraft/class_2955;field_13348:Lnet/minecraft/class_2955$class_9840;- official - c- Lakh;c:Lakh$a;
 
- 
craftAllprivate final boolean craftAll- Mappings:
- Namespace - Name - Mixin selector - named - craftAll- Lnet/minecraft/recipe/InputSlotFiller;craftAll:Z- intermediary - field_52340- Lnet/minecraft/class_2955;field_52340:Z- official - d- Lakh;d:Z
 
- 
widthprivate final int width- Mappings:
- Namespace - Name - Mixin selector - named - width- Lnet/minecraft/recipe/InputSlotFiller;width:I- intermediary - field_52341- Lnet/minecraft/class_2955;field_52341:I- official - e- Lakh;e:I
 
- 
heightprivate final int height- Mappings:
- Namespace - Name - Mixin selector - named - height- Lnet/minecraft/recipe/InputSlotFiller;height:I- intermediary - field_52342- Lnet/minecraft/class_2955;field_52342:I- official - f- Lakh;f:I
 
- 
inputSlots- Mappings:
- Namespace - Name - Mixin selector - named - inputSlots- Lnet/minecraft/recipe/InputSlotFiller;inputSlots:Ljava/util/List;- intermediary - field_52343- Lnet/minecraft/class_2955;field_52343:Ljava/util/List;- official - g- Lakh;g:Ljava/util/List;
 
- 
slotsToReturn- Mappings:
- Namespace - Name - Mixin selector - named - slotsToReturn- Lnet/minecraft/recipe/InputSlotFiller;slotsToReturn:Ljava/util/List;- intermediary - field_52344- Lnet/minecraft/class_2955;field_52344:Ljava/util/List;- official - h- Lakh;h:Ljava/util/List;
 
 
- 
- 
Constructor Details- 
InputSlotFillerprivate InputSlotFiller(InputSlotFiller.Handler<R> handler, PlayerInventory inventory, boolean craftAll, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/recipe/InputSlotFiller;<init>(Lnet/minecraft/recipe/InputSlotFiller$Handler;Lnet/minecraft/entity/player/PlayerInventory;ZIILjava/util/List;Ljava/util/List;)V- intermediary - <init>- Lnet/minecraft/class_2955;<init>(Lnet/minecraft/class_2955$class_9840;Lnet/minecraft/class_1661;ZIILjava/util/List;Ljava/util/List;)V- official - <init>- Lakh;<init>(Lakh$a;Lcox;ZIILjava/util/List;Ljava/util/List;)V
 
 
- 
- 
Method Details- 
fillpublic static <I extends RecipeInput,R extends Recipe<I>> AbstractRecipeScreenHandler.PostFillAction fill(InputSlotFiller.Handler<R> handler, int width, int height, List<Slot> inputSlots, List<Slot> slotsToReturn, PlayerInventory inventory, RecipeEntry<R> recipe, boolean craftAll, boolean creative) - Mappings:
- Namespace - Name - Mixin selector - named - fill- Lnet/minecraft/recipe/InputSlotFiller;fill(Lnet/minecraft/recipe/InputSlotFiller$Handler;IILjava/util/List;Ljava/util/List;Lnet/minecraft/entity/player/PlayerInventory;Lnet/minecraft/recipe/RecipeEntry;ZZ)Lnet/minecraft/screen/AbstractRecipeScreenHandler$PostFillAction;- intermediary - method_61232- Lnet/minecraft/class_2955;method_61232(Lnet/minecraft/class_2955$class_9840;IILjava/util/List;Ljava/util/List;Lnet/minecraft/class_1661;Lnet/minecraft/class_8786;ZZ)Lnet/minecraft/class_1729$class_9885;- official - a- Lakh;a(Lakh$a;IILjava/util/List;Ljava/util/List;Lcox;Ldbk;ZZ)Lcts$a;
 
- 
tryFillprivate AbstractRecipeScreenHandler.PostFillAction tryFill(RecipeEntry<R> recipe, RecipeFinder finder) - Mappings:
- Namespace - Name - Mixin selector - named - tryFill- Lnet/minecraft/recipe/InputSlotFiller;tryFill(Lnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/recipe/RecipeFinder;)Lnet/minecraft/screen/AbstractRecipeScreenHandler$PostFillAction;- intermediary - method_61233- Lnet/minecraft/class_2955;method_61233(Lnet/minecraft/class_8786;Lnet/minecraft/class_9875;)Lnet/minecraft/class_1729$class_9885;- official - a- Lakh;a(Ldbk;Lcpd;)Lcts$a;
 
- 
returnInputsprivate 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- Lakh;a()V
 
- 
fill- Mappings:
- Namespace - Name - Mixin selector - named - fill- Lnet/minecraft/recipe/InputSlotFiller;fill(Lnet/minecraft/recipe/RecipeEntry;Lnet/minecraft/recipe/RecipeFinder;)V- intermediary - method_61235- Lnet/minecraft/class_2955;method_61235(Lnet/minecraft/class_8786;Lnet/minecraft/class_9875;)V- official - b- Lakh;b(Ldbk;Lcpd;)V
 
- 
clampToMaxCount- Mappings:
- Namespace - Name - Mixin selector - named - clampToMaxCount- Lnet/minecraft/recipe/InputSlotFiller;clampToMaxCount(ILjava/util/List;)I- intermediary - method_65781- Lnet/minecraft/class_2955;method_65781(ILjava/util/List;)I- official - a- Lakh;a(ILjava/util/List;)I
 
- 
calculateCraftAmountprivate int calculateCraftAmount(int forCraftAll, boolean match) - Mappings:
- Namespace - Name - Mixin selector - named - calculateCraftAmount- Lnet/minecraft/recipe/InputSlotFiller;calculateCraftAmount(IZ)I- intermediary - method_61231- Lnet/minecraft/class_2955;method_61231(IZ)I- official - a- Lakh;a(IZ)I
 
- 
fillInputSlot- Mappings:
- Namespace - Name - Mixin selector - named - fillInputSlot- Lnet/minecraft/recipe/InputSlotFiller;fillInputSlot(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/registry/entry/RegistryEntry;I)I- intermediary - method_12824- Lnet/minecraft/class_2955;method_12824(Lnet/minecraft/class_1735;Lnet/minecraft/class_6880;I)I- official - a- Lakh;a(Lcua;Ljr;I)I
 
- 
canReturnInputsprivate 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- Lakh;b()Z
 
- 
getFreeInventorySlotsprivate 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- Lakh;c()I
 
 
-