类 ModShapedRecipeBuilder
java.lang.Object
net.minecraft.data.recipes.CraftingRecipeBuilder
committee.nova.mods.avaritia.init.data.provider.recipe.ModShapedRecipeBuilder
- 所有已实现的接口:
net.minecraft.data.recipes.RecipeBuilder
public class ModShapedRecipeBuilder
extends net.minecraft.data.recipes.CraftingRecipeBuilder
implements net.minecraft.data.recipes.RecipeBuilder
Name: Avaritia-forge / ModRecipeBuilder
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.data.recipes.CraftingRecipeBuilder
net.minecraft.data.recipes.CraftingRecipeBuilder.CraftingResult -
字段概要
从接口继承的字段 net.minecraft.data.recipes.RecipeBuilder
ROOT_RECIPE_ADVANCEMENT -
构造器概要
构造器构造器说明ModShapedRecipeBuilder(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.resources.ResourceLocation itemLocation, int count, int tier, net.minecraft.nbt.CompoundTag nbt) -
方法概要
修饰符和类型方法说明@NotNull net.minecraft.world.item.Item@NotNull ModShapedRecipeBuildervoidsave(@NotNull Consumer<net.minecraft.data.recipes.FinishedRecipe> recipeConsumer, @NotNull net.minecraft.resources.ResourceLocation location) static @NotNull ModShapedRecipeBuildershaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation) static @NotNull ModShapedRecipeBuildershaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, int tier) static @NotNull ModShapedRecipeBuildershaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, net.minecraft.nbt.CompoundTag nbt) static @NotNull ModShapedRecipeBuildershaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, net.minecraft.nbt.CompoundTag nbt, int tier) static @NotNull ModShapedRecipeBuildershaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike) static @NotNull ModShapedRecipeBuildershaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, int tier) static @NotNull ModShapedRecipeBuildershaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, int count, int tier) static @NotNull ModShapedRecipeBuildershaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.nbt.CompoundTag nbt) static @NotNull ModShapedRecipeBuildershaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.nbt.CompoundTag nbt, int tier) static @NotNull ModShapedRecipeBuildershaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.resources.ResourceLocation itemLocation, int count, int tier, net.minecraft.nbt.CompoundTag nbt) showNotification(boolean show) @NotNull ModShapedRecipeBuilderunlockedBy(@NotNull String string, @NotNull net.minecraft.advancements.CriterionTriggerInstance pCriterionTrigger) 从类继承的方法 net.minecraft.data.recipes.CraftingRecipeBuilder
determineBookCategory从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 net.minecraft.data.recipes.RecipeBuilder
save, save
-
构造器详细资料
-
ModShapedRecipeBuilder
public ModShapedRecipeBuilder(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.resources.ResourceLocation itemLocation, int count, int tier, net.minecraft.nbt.CompoundTag nbt)
-
-
方法详细资料
-
shaped
@Contract("_, _, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, net.minecraft.nbt.CompoundTag nbt, int tier) -
shaped
@Contract("_, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, net.minecraft.nbt.CompoundTag nbt) -
shaped
@Contract("_, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation, int tier) -
shaped
@Contract("_, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.resources.ResourceLocation itemLocation) -
shaped
@Contract("_, _, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.nbt.CompoundTag nbt, int tier) -
shaped
@Contract("_, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.nbt.CompoundTag nbt) -
shaped
@Contract("_, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, int tier) -
shaped
@Contract("_, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike) -
shaped
@Contract("_, _, _, _, _, _ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, net.minecraft.resources.ResourceLocation itemLocation, int count, int tier, net.minecraft.nbt.CompoundTag nbt) -
shaped
@Contract("_,_,_,_ -> new") @NotNull public static @NotNull ModShapedRecipeBuilder shaped(net.minecraft.data.recipes.RecipeCategory category, net.minecraft.world.level.ItemLike itemLike, int count, int tier) -
define
public ModShapedRecipeBuilder define(Character character, net.minecraft.tags.TagKey<net.minecraft.world.item.Item> tagKey) -
define
public ModShapedRecipeBuilder define(Character character, net.minecraft.world.level.ItemLike itemLike) -
define
-
define
public ModShapedRecipeBuilder define(Character character, net.minecraft.world.item.crafting.Ingredient ingredient) -
pattern
-
unlockedBy
@NotNull public @NotNull ModShapedRecipeBuilder unlockedBy(@NotNull @NotNull String string, @NotNull @NotNull net.minecraft.advancements.CriterionTriggerInstance pCriterionTrigger) - 指定者:
unlockedBy在接口中net.minecraft.data.recipes.RecipeBuilder
-
group
- 指定者:
group在接口中net.minecraft.data.recipes.RecipeBuilder
-
showNotification
-
getResult
@NotNull public @NotNull net.minecraft.world.item.Item getResult()- 指定者:
getResult在接口中net.minecraft.data.recipes.RecipeBuilder
-
save
public void save(@NotNull @NotNull Consumer<net.minecraft.data.recipes.FinishedRecipe> recipeConsumer, @NotNull @NotNull net.minecraft.resources.ResourceLocation location) - 指定者:
save在接口中net.minecraft.data.recipes.RecipeBuilder
-