类 InputSlotFiller<C extends Inventory>
- java.lang.Object
-
- net.minecraft.recipe.InputSlotFiller<C>
-
- 所有已实现的接口:
RecipeGridAligner<Integer>
public class InputSlotFiller<C extends Inventory> extends Object implements RecipeGridAligner<Integer>
- Mappings:
Namespace Name official wgintermediary net/minecraft/class_2955named net/minecraft/recipe/InputSlotFiller
-
-
字段概要
字段 修饰符和类型 字段 说明 protected AbstractRecipeScreenHandler<C>craftingScreenHandlerprotected PlayerInventoryinventoryprotected static LoggerLOGGERprotected RecipeFinderrecipeFinder
-
构造器概要
构造器 构造器 说明 InputSlotFiller(AbstractRecipeScreenHandler<C> craftingScreenHandler)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidacceptAlignedInput(Iterator<Integer> inputs, int slot, int amount, int gridX, int gridY)private booleancanReturnInputs()protected 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 intgetFreeInventorySlots()protected voidreturnInputs(boolean bool)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.recipe.RecipeGridAligner
alignRecipeToGrid
-
-
-
-
字段详细资料
-
LOGGER
protected static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLwg;a:Lorg/apache/logging/log4j/Logger;intermediary field_13349Lnet/minecraft/class_2955;field_13349:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/recipe/InputSlotFiller;LOGGER:Lorg/apache/logging/log4j/Logger;
-
recipeFinder
protected final RecipeFinder recipeFinder
- Mappings:
Namespace Name Mixin selector official bLwg;b:Lbjh;intermediary field_13347Lnet/minecraft/class_2955;field_13347:Lnet/minecraft/class_1662;named recipeFinderLnet/minecraft/recipe/InputSlotFiller;recipeFinder:Lnet/minecraft/recipe/RecipeFinder;
-
inventory
protected PlayerInventory inventory
- Mappings:
Namespace Name Mixin selector official cLwg;c:Lbje;intermediary field_13350Lnet/minecraft/class_2955;field_13350:Lnet/minecraft/class_1661;named inventoryLnet/minecraft/recipe/InputSlotFiller;inventory:Lnet/minecraft/entity/player/PlayerInventory;
-
craftingScreenHandler
protected AbstractRecipeScreenHandler<C extends Inventory> craftingScreenHandler
- Mappings:
Namespace Name Mixin selector official dLwg;d:Lbmu;intermediary field_13348Lnet/minecraft/class_2955;field_13348:Lnet/minecraft/class_1729;named craftingScreenHandlerLnet/minecraft/recipe/InputSlotFiller;craftingScreenHandler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
-
-
构造器详细资料
-
InputSlotFiller
public InputSlotFiller(AbstractRecipeScreenHandler<C> craftingScreenHandler)
- Mappings:
Namespace Name Mixin selector official <init>Lwg;<init>(Lbmu;)Vintermediary <init>Lnet/minecraft/class_2955;<init>(Lnet/minecraft/class_1729;)Vnamed <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 aLwg;a(Labk;Lbsj;Z)Vintermediary method_12826Lnet/minecraft/class_2955;method_12826(Lnet/minecraft/class_3222;Lnet/minecraft/class_1860;Z)Vnamed fillInputSlotsLnet/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 aLwg;a(Z)Vintermediary method_12822Lnet/minecraft/class_2955;method_12822(Z)Vnamed returnInputsLnet/minecraft/recipe/InputSlotFiller;returnInputs(Z)V
-
fillInputSlots
protected void fillInputSlots(Recipe<C> recipe, boolean craftAll)
- Mappings:
Namespace Name Mixin selector official aLwg;a(Lbsj;Z)Vintermediary method_12821Lnet/minecraft/class_2955;method_12821(Lnet/minecraft/class_1860;Z)Vnamed fillInputSlotsLnet/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 aLwf;a(Ljava/util/Iterator;IIII)Vintermediary method_12815Lnet/minecraft/class_2952;method_12815(Ljava/util/Iterator;IIII)Vnamed acceptAlignedInputLnet/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 aLwg;a(ZIZ)Iintermediary method_12819Lnet/minecraft/class_2955;method_12819(ZIZ)Inamed getAmountToFillLnet/minecraft/recipe/InputSlotFiller;getAmountToFill(ZIZ)I
-
fillInputSlot
protected void fillInputSlot(Slot slot, ItemStack stack)
- Mappings:
Namespace Name Mixin selector official aLwg;a(Lbnc;Lbpr;)Vintermediary method_12824Lnet/minecraft/class_2955;method_12824(Lnet/minecraft/class_1735;Lnet/minecraft/class_1799;)Vnamed fillInputSlotLnet/minecraft/recipe/InputSlotFiller;fillInputSlot(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/item/ItemStack;)V
-
canReturnInputs
private boolean canReturnInputs()
- Mappings:
Namespace Name Mixin selector official aLwg;a()Zintermediary method_12825Lnet/minecraft/class_2955;method_12825()Znamed canReturnInputsLnet/minecraft/recipe/InputSlotFiller;canReturnInputs()Z
-
getFreeInventorySlots
private int getFreeInventorySlots()
- Mappings:
Namespace Name Mixin selector official bLwg;b()Iintermediary method_12823Lnet/minecraft/class_2955;method_12823()Inamed getFreeInventorySlotsLnet/minecraft/recipe/InputSlotFiller;getFreeInventorySlots()I
-
-