+ recepis for Flags
This commit is contained in:
@@ -497,11 +497,6 @@ public class ModRecipeProvider extends RecipeProvider {
|
|||||||
.save(output, ResourceLocation.fromNamespaceAndPath(Ornamentum.MODID, recipeName));
|
.save(output, ResourceLocation.fromNamespaceAndPath(Ornamentum.MODID, recipeName));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Generates 16 recolor recipes (one per target color) for a set of 16 same-shape,
|
|
||||||
* differently-colored items: any item from {@code items} + the matching dye -> the
|
|
||||||
* item of that dye's color. Mirrors how vanilla lets you redye wool/stained glass.
|
|
||||||
*/
|
|
||||||
private void createDyeRecipes(RecipeOutput output, String category, ItemLike[] items, Item[] dyes, String[] names) {
|
private void createDyeRecipes(RecipeOutput output, String category, ItemLike[] items, Item[] dyes, String[] names) {
|
||||||
for (int i = 0; i < items.length; i++) {
|
for (int i = 0; i < items.length; i++) {
|
||||||
ShapelessRecipeBuilder.shapeless(RecipeCategory.BUILDING_BLOCKS, items[i], 1)
|
ShapelessRecipeBuilder.shapeless(RecipeCategory.BUILDING_BLOCKS, items[i], 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user