Class MechanicalCraftingRecipeBuilder
java.lang.Object
com.simibubi.create.foundation.data.recipe.MechanicalCraftingRecipeBuilder
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMechanicalCraftingRecipeBuilder(net.minecraft.world.level.ItemLike p_i48261_1_, int p_i48261_2_) -
Method Summary
Modifier and TypeMethodDescriptionvoidBuilds this recipe into aFinishedRecipe.voidBuilds this recipe into aFinishedRecipe.voidbuild(Consumer<net.minecraft.data.recipes.FinishedRecipe> p_200467_1_, net.minecraft.resources.ResourceLocation p_200467_2_) Builds this recipe into aFinishedRecipe.Prevents the crafters from matching a vertically flipped version of the recipeAdds a key to the recipe pattern.Adds a key to the recipe pattern.Adds a key to the recipe pattern.patternLine(String p_200472_1_) Adds a new entry to the patterns for this recipe.shapedRecipe(net.minecraft.world.level.ItemLike p_200470_0_) Creates a new builder for a shaped recipe.shapedRecipe(net.minecraft.world.level.ItemLike p_200468_0_, int p_200468_1_) Creates a new builder for a shaped recipe.
-
Constructor Details
-
MechanicalCraftingRecipeBuilder
public MechanicalCraftingRecipeBuilder(net.minecraft.world.level.ItemLike p_i48261_1_, int p_i48261_2_)
-
-
Method Details
-
shapedRecipe
public static MechanicalCraftingRecipeBuilder shapedRecipe(net.minecraft.world.level.ItemLike p_200470_0_) Creates a new builder for a shaped recipe. -
shapedRecipe
public static MechanicalCraftingRecipeBuilder shapedRecipe(net.minecraft.world.level.ItemLike p_200468_0_, int p_200468_1_) Creates a new builder for a shaped recipe. -
key
public MechanicalCraftingRecipeBuilder key(Character p_200469_1_, net.minecraft.tags.SetTag<net.minecraft.world.item.Item> p_200469_2_) Adds a key to the recipe pattern. -
key
public MechanicalCraftingRecipeBuilder key(Character p_200462_1_, net.minecraft.world.level.ItemLike p_200462_2_) Adds a key to the recipe pattern. -
key
public MechanicalCraftingRecipeBuilder key(Character p_200471_1_, net.minecraft.world.item.crafting.Ingredient p_200471_2_) Adds a key to the recipe pattern. -
patternLine
Adds a new entry to the patterns for this recipe. -
disallowMirrored
Prevents the crafters from matching a vertically flipped version of the recipe -
build
Builds this recipe into aFinishedRecipe. -
build
public void build(Consumer<net.minecraft.data.recipes.FinishedRecipe> p_200466_1_, String p_200466_2_) Builds this recipe into aFinishedRecipe. Usebuild(Consumer)if save is the same as the ID for the result. -
build
public void build(Consumer<net.minecraft.data.recipes.FinishedRecipe> p_200467_1_, net.minecraft.resources.ResourceLocation p_200467_2_) Builds this recipe into aFinishedRecipe.
-