Package net.minecraft.recipe
Class InputSlotFiller<I extends RecipeInput,R extends Recipe<I>>
java.lang.Object
net.minecraft.recipe.InputSlotFiller<I,R>
- All Implemented Interfaces:
RecipeGridAligner<Integer>
public class InputSlotFiller<I extends RecipeInput,R extends Recipe<I>>
extends Object
implements RecipeGridAligner<Integer>
- Mappings:
Namespace Name named net/minecraft/recipe/InputSlotFillerintermediary net/minecraft/class_2955official ajy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprotected AbstractRecipeScreenHandler<I, R> protected PlayerInventoryprotected final RecipeMatcher -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptAlignedInput(Integer integer, int int2, int int3, int int4, int int5) private booleanprotected intfillInputSlot(Slot slot, ItemStack stack, int int2) protected voidfillInputSlots(RecipeEntry<R> recipe, boolean craftAll) voidfillInputSlots(ServerPlayerEntity entity, @Nullable RecipeEntry<R> recipe, boolean craftAll) protected intgetAmountToFill(boolean craftAll, int limit, boolean recipeInCraftingSlots) private intprotected voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.recipe.RecipeGridAligner
alignRecipeToGrid
-
Field Details
-
field_51523
private static final int field_51523- See Also:
- Mappings:
Namespace Name Mixin selector named field_51523Lnet/minecraft/recipe/InputSlotFiller;field_51523:Iintermediary field_51523Lnet/minecraft/class_2955;field_51523:Iofficial dLajy;d:I
-
matcher
- Mappings:
Namespace Name Mixin selector named matcherLnet/minecraft/recipe/InputSlotFiller;matcher:Lnet/minecraft/recipe/RecipeMatcher;intermediary field_13347Lnet/minecraft/class_2955;field_13347:Lnet/minecraft/class_1662;official aLajy;a:Lcml;
-
inventory
- Mappings:
Namespace Name Mixin selector named inventoryLnet/minecraft/recipe/InputSlotFiller;inventory:Lnet/minecraft/entity/player/PlayerInventory;intermediary field_13350Lnet/minecraft/class_2955;field_13350:Lnet/minecraft/class_1661;official bLajy;b:Lcmg;
-
handler
- Mappings:
Namespace Name Mixin selector named handlerLnet/minecraft/recipe/InputSlotFiller;handler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;intermediary field_13348Lnet/minecraft/class_2955;field_13348:Lnet/minecraft/class_1729;official cLajy;c:Lcqs;
-
-
Constructor Details
-
InputSlotFiller
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/recipe/InputSlotFiller;<init>(Lnet/minecraft/screen/AbstractRecipeScreenHandler;)Vintermediary <init>Lnet/minecraft/class_2955;<init>(Lnet/minecraft/class_1729;)Vofficial <init>Lajy;<init>(Lcqs;)V
-
-
Method Details
-
fillInputSlots
public void fillInputSlots(ServerPlayerEntity entity, @Nullable @Nullable RecipeEntry<R> recipe, boolean craftAll) - Mappings:
Namespace Name Mixin selector named fillInputSlotsLnet/minecraft/recipe/InputSlotFiller;fillInputSlots(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/recipe/RecipeEntry;Z)Vintermediary method_12826Lnet/minecraft/class_2955;method_12826(Lnet/minecraft/class_3222;Lnet/minecraft/class_8786;Z)Vofficial aLajy;a(Laql;Lcyi;Z)V
-
returnInputs
protected void returnInputs()- Mappings:
Namespace Name Mixin selector named returnInputsLnet/minecraft/recipe/InputSlotFiller;returnInputs()Vintermediary method_12822Lnet/minecraft/class_2955;method_12822()Vofficial aLajy;a()V
-
fillInputSlots
- Mappings:
Namespace Name Mixin selector named fillInputSlotsLnet/minecraft/recipe/InputSlotFiller;fillInputSlots(Lnet/minecraft/recipe/RecipeEntry;Z)Vintermediary method_12821Lnet/minecraft/class_2955;method_12821(Lnet/minecraft/class_8786;Z)Vofficial aLajy;a(Lcyi;Z)V
-
acceptAlignedInput
- Specified by:
acceptAlignedInputin interfaceRecipeGridAligner<I extends RecipeInput>- Mappings:
Namespace Name Mixin selector named acceptAlignedInputLnet/minecraft/recipe/InputSlotFiller;acceptAlignedInput(Ljava/lang/Integer;IIII)Vintermediary method_59902Lnet/minecraft/class_2955;method_59902(Ljava/lang/Integer;IIII)Vofficial aLajy;a(Ljava/lang/Integer;IIII)V
-
getAmountToFill
protected int getAmountToFill(boolean craftAll, int limit, boolean recipeInCraftingSlots) - Mappings:
Namespace Name Mixin selector named getAmountToFillLnet/minecraft/recipe/InputSlotFiller;getAmountToFill(ZIZ)Iintermediary method_12819Lnet/minecraft/class_2955;method_12819(ZIZ)Iofficial aLajy;a(ZIZ)I
-
fillInputSlot
- Mappings:
Namespace Name Mixin selector named fillInputSlotLnet/minecraft/recipe/InputSlotFiller;fillInputSlot(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/item/ItemStack;I)Iintermediary method_12824Lnet/minecraft/class_2955;method_12824(Lnet/minecraft/class_1735;Lnet/minecraft/class_1799;I)Iofficial aLajy;a(Lcra;Lcua;I)I
-
canReturnInputs
private boolean canReturnInputs()- Mappings:
Namespace Name Mixin selector named canReturnInputsLnet/minecraft/recipe/InputSlotFiller;canReturnInputs()Zintermediary method_12825Lnet/minecraft/class_2955;method_12825()Zofficial bLajy;b()Z
-
getFreeInventorySlots
private int getFreeInventorySlots()- Mappings:
Namespace Name Mixin selector named getFreeInventorySlotsLnet/minecraft/recipe/InputSlotFiller;getFreeInventorySlots()Iintermediary method_12823Lnet/minecraft/class_2955;method_12823()Iofficial cLajy;c()I
-