类的使用
net.minecraft.recipe.Ingredient
-
-
net.minecraft.client.gui.screen.recipebook中Ingredient的使用
声明为Ingredient的net.minecraft.client.gui.screen.recipebook中的字段 修饰符和类型 字段 说明 private @Nullable IngredientAbstractFurnaceRecipeBookScreen. fuelsprivate IngredientRecipeBookGhostSlots.GhostInputSlot. ingredient参数类型为Ingredient的net.minecraft.client.gui.screen.recipebook中的方法 修饰符和类型 方法 说明 voidRecipeBookGhostSlots. addSlot(Ingredient ingredient, int x, int y)类型变量类型为Ingredient的net.minecraft.client.gui.screen.recipebook中的方法参数 修饰符和类型 方法 说明 voidRecipeAlternativesWidget.AlternativeButtonWidget. acceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY)voidRecipeBookWidget. acceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY)参数类型为Ingredient的net.minecraft.client.gui.screen.recipebook中的构造器 构造器 说明 GhostInputSlot(Ingredient ingredient, int x, int y) -
net.minecraft.data.server中Ingredient的使用
-
net.minecraft.data.server.recipe中Ingredient的使用
声明为Ingredient的net.minecraft.data.server.recipe中的字段 修饰符和类型 字段 说明 private IngredientSmithingRecipeJsonFactory. additionprivate IngredientSmithingRecipeJsonFactory.SmithingRecipeJsonProvider. additionprivate IngredientSmithingRecipeJsonFactory. baseprivate IngredientSmithingRecipeJsonFactory.SmithingRecipeJsonProvider. baseprivate IngredientCookingRecipeJsonFactory.CookingRecipeJsonProvider. ingredientprivate IngredientCookingRecipeJsonFactory. ingredientprivate IngredientSingleItemRecipeJsonFactory. inputprivate IngredientSingleItemRecipeJsonFactory.SingleItemRecipeJsonProvider. input类型参数类型为Ingredient的net.minecraft.data.server.recipe中的字段 修饰符和类型 字段 说明 private Map<Character,Ingredient>ShapedRecipeJsonFactory. inputsprivate Map<Character,Ingredient>ShapedRecipeJsonFactory.ShapedRecipeJsonProvider. inputsprivate List<Ingredient>ShapelessRecipeJsonFactory. inputsprivate List<Ingredient>ShapelessRecipeJsonFactory.ShapelessRecipeJsonProvider. inputs参数类型为Ingredient的net.minecraft.data.server.recipe中的方法 修饰符和类型 方法 说明 static CookingRecipeJsonFactoryCookingRecipeJsonFactory. create(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime, CookingRecipeSerializer<?> serializer)static SingleItemRecipeJsonFactorySingleItemRecipeJsonFactory. create(Ingredient input, ItemConvertible output)static SingleItemRecipeJsonFactorySingleItemRecipeJsonFactory. create(Ingredient input, ItemConvertible output, int outputCount)static SmithingRecipeJsonFactorySmithingRecipeJsonFactory. create(Ingredient base, Ingredient addition, Item result)static CookingRecipeJsonFactoryCookingRecipeJsonFactory. createBlasting(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime)static CookingRecipeJsonFactoryCookingRecipeJsonFactory. createSmelting(Ingredient ingredient, ItemConvertible result, float experience, int cookingTime)ShapedRecipeJsonFactoryShapedRecipeJsonFactory. input(Character c, Ingredient ingredient)ShapelessRecipeJsonFactoryShapelessRecipeJsonFactory. input(Ingredient ingredient)ShapelessRecipeJsonFactoryShapelessRecipeJsonFactory. input(Ingredient ingredient, int size)static CookingRecipeJsonFactoryCookingRecipeJsonFactory. method_35916(Ingredient ingredient, ItemConvertible itemConvertible, float float2, int int2)static CookingRecipeJsonFactoryCookingRecipeJsonFactory. method_35918(Ingredient ingredient, ItemConvertible itemConvertible, float float2, int int2)类型变量类型为Ingredient的net.minecraft.data.server.recipe中的构造器参数 构造器 说明 ShapedRecipeJsonProvider(Identifier recipeId, Item output, int outputCount, String group, List<String> pattern, Map<Character,Ingredient> inputs, Advancement.Task builder, Identifier advancementId)ShapelessRecipeJsonProvider(Identifier recipeId, Item output, int outputCount, String group, List<Ingredient> inputs, Advancement.Task builder, Identifier advancementId) -
net.minecraft.entity.ai.brain.sensor中Ingredient的使用
声明为Ingredient的net.minecraft.entity.ai.brain.sensor中的字段 修饰符和类型 字段 说明 private IngredientTemptationsSensor. ingredient参数类型为Ingredient的net.minecraft.entity.ai.brain.sensor中的构造器 构造器 说明 TemptationsSensor(Ingredient ingredient) -
net.minecraft.entity.ai.goal中Ingredient的使用
声明为Ingredient的net.minecraft.entity.ai.goal中的字段 修饰符和类型 字段 说明 private IngredientTemptGoal. food参数类型为Ingredient的net.minecraft.entity.ai.goal中的构造器 构造器 说明 TemptGoal(PathAwareEntity entity, double speed, Ingredient food, boolean canBeScared) -
net.minecraft.entity.passive中Ingredient的使用
声明为Ingredient的net.minecraft.entity.passive中的字段 修饰符和类型 字段 说明 private static IngredientStriderEntity. ATTRACTING_INGREDIENTprivate static IngredientChickenEntity. BREEDING_INGREDIENTprivate static IngredientHorseBaseEntity. BREEDING_INGREDIENTprivate static IngredientPigEntity. BREEDING_INGREDIENTprivate static IngredientStriderEntity. BREEDING_INGREDIENTstatic IngredientTurtleEntity. BREEDING_ITEMprivate static IngredientCatEntity. TAMING_INGREDIENTprivate static IngredientLlamaEntity. TAMING_INGREDIENTprivate static IngredientOcelotEntity. TAMING_INGREDIENT返回Ingredient的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 static IngredientAxolotlBrain. getTemptItems()static IngredientGoatBrain. getTemptItems()参数类型为Ingredient的net.minecraft.entity.passive中的构造器 构造器 说明 OcelotTemptGoal(OcelotEntity ocelot, double speed, Ingredient food, boolean canBeScared)TemptGoal(CatEntity cat, double speed, Ingredient food, boolean canBeScared) -
net.minecraft.entity.vehicle中Ingredient的使用
声明为Ingredient的net.minecraft.entity.vehicle中的字段 修饰符和类型 字段 说明 private static IngredientFurnaceMinecartEntity. ACCEPTABLE_FUEL -
net.minecraft.item中Ingredient的使用
类型参数类型为Ingredient的net.minecraft.item中的字段 修饰符和类型 字段 说明 private Lazy<Ingredient>ToolMaterials. repairIngredientprivate Lazy<Ingredient>ArmorMaterials. repairIngredientSupplier返回Ingredient的net.minecraft.item中的方法 修饰符和类型 方法 说明 IngredientArmorMaterial. getRepairIngredient()IngredientArmorMaterials. getRepairIngredient()IngredientToolMaterial. getRepairIngredient()IngredientToolMaterials. getRepairIngredient()类型变量类型为Ingredient的net.minecraft.item中的构造器参数 构造器 说明 ArmorMaterials(String name, int durabilityMultiplier, int[] protectionAmounts, int enchantability, SoundEvent equipSound, float toughness, float knockbackResistance, Supplier<Ingredient> repairIngredientSupplier)ToolMaterials(int miningLevel, int itemDurability, float miningSpeed, float attackDamage, int enchantability, Supplier<Ingredient> repairIngredient) -
net.minecraft.recipe中Ingredient的使用
声明为Ingredient的net.minecraft.recipe中的字段 修饰符和类型 字段 说明 private IngredientSmithingRecipe. additionprivate IngredientSmithingRecipe. baseprivate static IngredientFireworkRocketRecipe. DURATION_MODIFIERstatic IngredientIngredient. EMPTYprivate static IngredientFireworkRocketRecipe. FIREWORK_STARprivate static IngredientFireworkStarRecipe. FLICKER_MODIFIERprivate static IngredientFireworkStarRecipe. GUNPOWDERprivate IngredientBrewingRecipeRegistry.Recipe. ingredientprotected IngredientAbstractCookingRecipe. inputprotected IngredientCuttingRecipe. inputprivate static IngredientFireworkStarFadeRecipe. INPUT_STARprivate static IngredientFireworkRocketRecipe. PAPERprivate static IngredientFireworkStarRecipe. TRAIL_MODIFIERprivate static IngredientFireworkStarRecipe. TYPE_MODIFIER类型参数类型为Ingredient的net.minecraft.recipe中的字段 修饰符和类型 字段 说明 private List<Ingredient>RecipeFinder.Filter. ingredientsprivate DefaultedList<Ingredient>ShapelessRecipe. inputprivate DefaultedList<Ingredient>ShapedRecipe. inputsprivate static List<Ingredient>BrewingRecipeRegistry. POTION_TYPES返回Ingredient的net.minecraft.recipe中的方法 修饰符和类型 方法 说明 static IngredientIngredient. empty()static IngredientIngredient. fromJson(@Nullable JsonElement json)static IngredientIngredient. fromPacket(PacketByteBuf buf)static IngredientIngredient. fromTag(Tag<Item> tag)private static IngredientIngredient. ofEntries(Stream<? extends Ingredient.Entry> entries)static IngredientIngredient. ofItems(ItemConvertible[] items)static IngredientIngredient. ofStacks(Stream<ItemStack> stacks)static IngredientIngredient. ofStacks(ItemStack[] stacks)返回变量类型为Ingredient的类型的net.minecraft.recipe中的方法 修饰符和类型 方法 说明 private static Map<String,Ingredient>ShapedRecipe. getComponents(JsonObject json)private static DefaultedList<Ingredient>ShapedRecipe. getIngredients(String[] pattern, Map<String,Ingredient> key, int width, int height)private static DefaultedList<Ingredient>ShapelessRecipe.Serializer. getIngredients(JsonArray json)DefaultedList<Ingredient>AbstractCookingRecipe. getPreviewInputs()DefaultedList<Ingredient>CuttingRecipe. getPreviewInputs()default DefaultedList<Ingredient>Recipe. getPreviewInputs()DefaultedList<Ingredient>ShapedRecipe. getPreviewInputs()DefaultedList<Ingredient>ShapelessRecipe. getPreviewInputs()参数类型为Ingredient的net.minecraft.recipe中的方法 修饰符和类型 方法 说明 TCookingRecipeSerializer.RecipeFactory. create(Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime)TCuttingRecipe.Serializer.RecipeFactory. create(Identifier id, String group, Ingredient input, ItemStack output)类型变量类型为Ingredient的net.minecraft.recipe中的方法参数 修饰符和类型 方法 说明 private static DefaultedList<Ingredient>ShapedRecipe. getIngredients(String[] pattern, Map<String,Ingredient> key, int width, int height)参数类型为Ingredient的net.minecraft.recipe中的构造器 构造器 说明 AbstractCookingRecipe(RecipeType<?> type, Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime)BlastingRecipe(Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime)CampfireCookingRecipe(Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime)CuttingRecipe(RecipeType<?> type, RecipeSerializer<?> serializer, Identifier id, String group, Ingredient input, ItemStack output)Recipe(T input, Ingredient ingredient, T output)SmeltingRecipe(Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime)SmithingRecipe(Identifier id, Ingredient base, Ingredient addition, ItemStack result)SmokingRecipe(Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime)StonecuttingRecipe(Identifier id, String group, Ingredient input, ItemStack output)类型变量类型为Ingredient的net.minecraft.recipe中的构造器参数 构造器 说明 ShapedRecipe(Identifier id, String group, int width, int height, DefaultedList<Ingredient> ingredients, ItemStack output)ShapelessRecipe(Identifier id, String group, ItemStack output, DefaultedList<Ingredient> input)
-