+ recepis for Flags

This commit is contained in:
Glitchlabs
2026-07-26 00:04:53 +02:00
parent eeea435cf0
commit 42d298d7fc
@@ -497,11 +497,6 @@ public class ModRecipeProvider extends RecipeProvider {
.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) {
for (int i = 0; i < items.length; i++) {
ShapelessRecipeBuilder.shapeless(RecipeCategory.BUILDING_BLOCKS, items[i], 1)