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/InputSlotFiller
intermediary net/minecraft/class_2955
official akf
  • Field Details

    • field_51523

      private 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 d Lakf;d:I
    • matcher

      protected final RecipeMatcher 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 Lakf;a:Lcnb;
    • inventory

      protected PlayerInventory 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 Lakf;b:Lcmw;
    • handler

      protected AbstractRecipeScreenHandler<I extends RecipeInput,R extends Recipe<I>> 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 Lakf;c:Lcri;
  • Constructor Details

    • InputSlotFiller

      public InputSlotFiller(AbstractRecipeScreenHandler<I,R> handler)
      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> Lakf;<init>(Lcri;)V
  • Method Details

    • fillInputSlots

      public void fillInputSlots(ServerPlayerEntity entity, @Nullable @Nullable RecipeEntry<R> 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 Lakf;a(Laqv;Lczb;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 Lakf;a()V
    • fillInputSlots

      protected void fillInputSlots(RecipeEntry<R> recipe, boolean craftAll)
      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 Lakf;a(Lczb;Z)V
    • acceptAlignedInput

      public void acceptAlignedInput(Integer integer, int int2, int int3, int int4, int int5)
      Specified by:
      acceptAlignedInput in interface RecipeGridAligner<I extends RecipeInput>
      Mappings:
      Namespace Name Mixin selector
      named acceptAlignedInput Lnet/minecraft/recipe/InputSlotFiller;acceptAlignedInput(Ljava/lang/Integer;IIII)V
      intermediary method_59902 Lnet/minecraft/class_2955;method_59902(Ljava/lang/Integer;IIII)V
      official a Lakf;a(Ljava/lang/Integer;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 Lakf;a(ZIZ)I
    • fillInputSlot

      protected int fillInputSlot(Slot slot, ItemStack stack, int int2)
      Mappings:
      Namespace Name Mixin selector
      named fillInputSlot Lnet/minecraft/recipe/InputSlotFiller;fillInputSlot(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/item/ItemStack;I)I
      intermediary method_12824 Lnet/minecraft/class_2955;method_12824(Lnet/minecraft/class_1735;Lnet/minecraft/class_1799;I)I
      official a Lakf;a(Lcrq;Lcuq;I)I
    • 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 Lakf;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 Lakf;c()I