类 InputSlotFiller<C extends Inventory>

    • 字段详细资料

      • LOGGER

        protected static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official a Lwg;a:Lorg/apache/logging/log4j/Logger;
        intermediary field_13349 Lnet/minecraft/class_2955;field_13349:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/recipe/InputSlotFiller;LOGGER:Lorg/apache/logging/log4j/Logger;
      • recipeFinder

        protected final RecipeFinder recipeFinder
        Mappings:
        Namespace Name Mixin selector
        official b Lwg;b:Lbjh;
        intermediary field_13347 Lnet/minecraft/class_2955;field_13347:Lnet/minecraft/class_1662;
        named recipeFinder Lnet/minecraft/recipe/InputSlotFiller;recipeFinder:Lnet/minecraft/recipe/RecipeFinder;
      • inventory

        protected PlayerInventory inventory
        Mappings:
        Namespace Name Mixin selector
        official c Lwg;c:Lbje;
        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;
      • craftingScreenHandler

        protected AbstractRecipeScreenHandler<C extends Inventory> craftingScreenHandler
        Mappings:
        Namespace Name Mixin selector
        official d Lwg;d:Lbmu;
        intermediary field_13348 Lnet/minecraft/class_2955;field_13348:Lnet/minecraft/class_1729;
        named craftingScreenHandler Lnet/minecraft/recipe/InputSlotFiller;craftingScreenHandler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
    • 构造器详细资料

      • InputSlotFiller

        public InputSlotFiller​(AbstractRecipeScreenHandler<C> craftingScreenHandler)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lwg;<init>(Lbmu;)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
    • 方法详细资料

      • fillInputSlots

        public void fillInputSlots​(ServerPlayerEntity entity,
                                   @Nullable
                                   @Nullable Recipe<C> recipe,
                                   boolean craftAll)
        Mappings:
        Namespace Name Mixin selector
        official a Lwg;a(Labk;Lbsj;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
      • returnInputs

        protected void returnInputs​(boolean bool)
        Mappings:
        Namespace Name Mixin selector
        official a Lwg;a(Z)V
        intermediary method_12822 Lnet/minecraft/class_2955;method_12822(Z)V
        named returnInputs Lnet/minecraft/recipe/InputSlotFiller;returnInputs(Z)V
      • fillInputSlots

        protected void fillInputSlots​(Recipe<C> recipe,
                                      boolean craftAll)
        Mappings:
        Namespace Name Mixin selector
        official a Lwg;a(Lbsj;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
      • acceptAlignedInput

        public void acceptAlignedInput​(Iterator<Integer> inputs,
                                       int slot,
                                       int amount,
                                       int gridX,
                                       int gridY)
        指定者:
        acceptAlignedInput 在接口中 RecipeGridAligner<C extends Inventory>
        Mappings:
        Namespace Name Mixin selector
        official a Lwf;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
      • getAmountToFill

        protected int getAmountToFill​(boolean craftAll,
                                      int limit,
                                      boolean recipeInCraftingSlots)
        Mappings:
        Namespace Name Mixin selector
        official a Lwg;a(ZIZ)I
        intermediary method_12819 Lnet/minecraft/class_2955;method_12819(ZIZ)I
        named getAmountToFill Lnet/minecraft/recipe/InputSlotFiller;getAmountToFill(ZIZ)I
      • fillInputSlot

        protected void fillInputSlot​(Slot slot,
                                     ItemStack stack)
        Mappings:
        Namespace Name Mixin selector
        official a Lwg;a(Lbnc;Lbpr;)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
      • canReturnInputs

        private boolean canReturnInputs()
        Mappings:
        Namespace Name Mixin selector
        official a Lwg;a()Z
        intermediary method_12825 Lnet/minecraft/class_2955;method_12825()Z
        named canReturnInputs Lnet/minecraft/recipe/InputSlotFiller;canReturnInputs()Z
      • getFreeInventorySlots

        private int getFreeInventorySlots()
        Mappings:
        Namespace Name Mixin selector
        official b Lwg;b()I
        intermediary method_12823 Lnet/minecraft/class_2955;method_12823()I
        named getFreeInventorySlots Lnet/minecraft/recipe/InputSlotFiller;getFreeInventorySlots()I