package net.minecraft.data;

import com.google.common.collect.Sets;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import java.io.BufferedWriter;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.function.Consumer;
import net.minecraft.advancements.Advancement;
import net.minecraft.advancements.criterion.EnterBlockTrigger;
import net.minecraft.advancements.criterion.ImpossibleTrigger;
import net.minecraft.advancements.criterion.InventoryChangeTrigger;
import net.minecraft.advancements.criterion.ItemPredicate;
import net.minecraft.advancements.criterion.MinMaxBounds;
import net.minecraft.block.Block;
import net.minecraft.block.Blocks;
import net.minecraft.item.Item;
import net.minecraft.item.Items;
import net.minecraft.item.crafting.CookingRecipeSerializer;
import net.minecraft.item.crafting.IRecipeSerializer;
import net.minecraft.item.crafting.Ingredient;
import net.minecraft.state.IProperty;
import net.minecraft.tags.ItemTags;
import net.minecraft.tags.Tag;
import net.minecraft.util.IItemProvider;
import net.minecraft.util.ResourceLocation;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class RecipeProvider implements IDataProvider {
   private static final Logger LOGGER = LogManager.getLogger();
   private static final Gson GSON = (new GsonBuilder()).setPrettyPrinting().create();
   protected final DataGenerator generator;

   public RecipeProvider(DataGenerator generatorIn) {
      this.generator = generatorIn;
   }

   /**
    * Performs this provider's action.
    */
   public void act(DirectoryCache cache) throws IOException {
      Path path = this.generator.getOutputFolder();
      Set<ResourceLocation> set = Sets.newHashSet();
      this.registerRecipes((p_200410_4_) -> {
         if (!set.add(p_200410_4_.getID())) {
            throw new IllegalStateException("Duplicate recipe " + p_200410_4_.getID());
         } else {
            this.saveRecipe(cache, p_200410_4_.getRecipeJson(), path.resolve("data/" + p_200410_4_.getID().getNamespace() + "/recipes/" + p_200410_4_.getID().getPath() + ".json"));
            JsonObject jsonobject = p_200410_4_.getAdvancementJson();
            if (jsonobject != null) {
               this.saveRecipeAdvancement(cache, jsonobject, path.resolve("data/" + p_200410_4_.getID().getNamespace() + "/advancements/" + p_200410_4_.getAdvancementID().getPath() + ".json"));
            }

         }
      });
      if (this.getClass() == RecipeProvider.class) //Forge: Subclasses don't need this.
      this.saveRecipeAdvancement(cache, Advancement.Builder.builder().withCriterion("impossible", new ImpossibleTrigger.Instance()).serialize(), path.resolve("data/minecraft/advancements/recipes/root.json"));
   }

   /**
    * Saves a recipe to a file.
    */
   private void saveRecipe(DirectoryCache cache, JsonObject recipeJson, Path pathIn) {
      try {
         String s = GSON.toJson((JsonElement)recipeJson);
         String s1 = HASH_FUNCTION.hashUnencodedChars(s).toString();
         if (!Objects.equals(cache.getPreviousHash(pathIn), s1) || !Files.exists(pathIn)) {
            Files.createDirectories(pathIn.getParent());

            try (BufferedWriter bufferedwriter = Files.newBufferedWriter(pathIn)) {
               bufferedwriter.write(s);
            }
         }

         cache.func_208316_a(pathIn, s1);
      } catch (IOException ioexception) {
         LOGGER.error("Couldn't save recipe {}", pathIn, ioexception);
      }

   }

   /**
    * Saves an advancement to a file.
    */
   protected void saveRecipeAdvancement(DirectoryCache cache, JsonObject advancementJson, Path pathIn) {
      try {
         String s = GSON.toJson((JsonElement)advancementJson);
         String s1 = HASH_FUNCTION.hashUnencodedChars(s).toString();
         if (!Objects.equals(cache.getPreviousHash(pathIn), s1) || !Files.exists(pathIn)) {
            Files.createDirectories(pathIn.getParent());

            try (BufferedWriter bufferedwriter = Files.newBufferedWriter(pathIn)) {
               bufferedwriter.write(s);
            }
         }

         cache.func_208316_a(pathIn, s1);
      } catch (IOException ioexception) {
         LOGGER.error("Couldn't save recipe advancement {}", pathIn, ioexception);
      }

   }

   /**
    * Registers all recipes to the given consumer.
    */
   protected void registerRecipes(Consumer<IFinishedRecipe> consumer) {
      ShapedRecipeBuilder.shapedRecipe(Blocks.ACACIA_WOOD, 3).key('#', Blocks.ACACIA_LOG).patternLine("##").patternLine("##").setGroup("bark").addCriterion("has_log", this.hasItem(Blocks.ACACIA_LOG)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.ACACIA_BOAT).key('#', Blocks.ACACIA_PLANKS).patternLine("# #").patternLine("###").setGroup("boat").addCriterion("in_water", this.enteredBlock(Blocks.WATER)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.ACACIA_BUTTON).addIngredient(Blocks.ACACIA_PLANKS).setGroup("wooden_button").addCriterion("has_planks", this.hasItem(Blocks.ACACIA_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ACACIA_DOOR, 3).key('#', Blocks.ACACIA_PLANKS).patternLine("##").patternLine("##").patternLine("##").setGroup("wooden_door").addCriterion("has_planks", this.hasItem(Blocks.ACACIA_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ACACIA_FENCE, 3).key('#', Items.STICK).key('W', Blocks.ACACIA_PLANKS).patternLine("W#W").patternLine("W#W").setGroup("wooden_fence").addCriterion("has_planks", this.hasItem(Blocks.ACACIA_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ACACIA_FENCE_GATE).key('#', Items.STICK).key('W', Blocks.ACACIA_PLANKS).patternLine("#W#").patternLine("#W#").setGroup("wooden_fence_gate").addCriterion("has_planks", this.hasItem(Blocks.ACACIA_PLANKS)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.ACACIA_PLANKS, 4).addIngredient(ItemTags.ACACIA_LOGS).setGroup("planks").addCriterion("has_logs", this.hasItem(ItemTags.ACACIA_LOGS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ACACIA_PRESSURE_PLATE).key('#', Blocks.ACACIA_PLANKS).patternLine("##").setGroup("wooden_pressure_plate").addCriterion("has_planks", this.hasItem(Blocks.ACACIA_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ACACIA_SLAB, 6).key('#', Blocks.ACACIA_PLANKS).patternLine("###").setGroup("wooden_slab").addCriterion("has_planks", this.hasItem(Blocks.ACACIA_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ACACIA_STAIRS, 4).key('#', Blocks.ACACIA_PLANKS).patternLine("#  ").patternLine("## ").patternLine("###").setGroup("wooden_stairs").addCriterion("has_planks", this.hasItem(Blocks.ACACIA_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ACACIA_TRAPDOOR, 2).key('#', Blocks.ACACIA_PLANKS).patternLine("###").patternLine("###").setGroup("wooden_trapdoor").addCriterion("has_planks", this.hasItem(Blocks.ACACIA_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ACTIVATOR_RAIL, 6).key('#', Blocks.REDSTONE_TORCH).key('S', Items.STICK).key('X', Items.IRON_INGOT).patternLine("XSX").patternLine("X#X").patternLine("XSX").addCriterion("has_rail", this.hasItem(Blocks.RAIL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.ANDESITE, 2).addIngredient(Blocks.DIORITE).addIngredient(Blocks.COBBLESTONE).addCriterion("has_stone", this.hasItem(Blocks.DIORITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ANVIL).key('I', Blocks.IRON_BLOCK).key('i', Items.IRON_INGOT).patternLine("III").patternLine(" i ").patternLine("iii").addCriterion("has_iron_block", this.hasItem(Blocks.IRON_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.ARMOR_STAND).key('/', Items.STICK).key('_', Blocks.SMOOTH_STONE_SLAB).patternLine("///").patternLine(" / ").patternLine("/_/").addCriterion("has_stone_slab", this.hasItem(Blocks.SMOOTH_STONE_SLAB)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.ARROW, 4).key('#', Items.STICK).key('X', Items.FLINT).key('Y', Items.FEATHER).patternLine("X").patternLine("#").patternLine("Y").addCriterion("has_feather", this.hasItem(Items.FEATHER)).addCriterion("has_flint", this.hasItem(Items.FLINT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BARREL, 1).key('P', ItemTags.PLANKS).key('S', ItemTags.WOODEN_SLABS).patternLine("PSP").patternLine("P P").patternLine("PSP").addCriterion("has_planks", this.hasItem(ItemTags.PLANKS)).addCriterion("has_wood_slab", this.hasItem(ItemTags.WOODEN_SLABS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BEACON).key('S', Items.NETHER_STAR).key('G', Blocks.GLASS).key('O', Blocks.OBSIDIAN).patternLine("GGG").patternLine("GSG").patternLine("OOO").addCriterion("has_nether_star", this.hasItem(Items.NETHER_STAR)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BEETROOT_SOUP).addIngredient(Items.BOWL).addIngredient(Items.BEETROOT, 6).addCriterion("has_beetroot", this.hasItem(Items.BEETROOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BIRCH_WOOD, 3).key('#', Blocks.BIRCH_LOG).patternLine("##").patternLine("##").setGroup("bark").addCriterion("has_log", this.hasItem(Blocks.BIRCH_LOG)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BIRCH_BOAT).key('#', Blocks.BIRCH_PLANKS).patternLine("# #").patternLine("###").setGroup("boat").addCriterion("in_water", this.enteredBlock(Blocks.WATER)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.BIRCH_BUTTON).addIngredient(Blocks.BIRCH_PLANKS).setGroup("wooden_button").addCriterion("has_planks", this.hasItem(Blocks.BIRCH_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BIRCH_DOOR, 3).key('#', Blocks.BIRCH_PLANKS).patternLine("##").patternLine("##").patternLine("##").setGroup("wooden_door").addCriterion("has_planks", this.hasItem(Blocks.BIRCH_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BIRCH_FENCE, 3).key('#', Items.STICK).key('W', Blocks.BIRCH_PLANKS).patternLine("W#W").patternLine("W#W").setGroup("wooden_fence").addCriterion("has_planks", this.hasItem(Blocks.BIRCH_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BIRCH_FENCE_GATE).key('#', Items.STICK).key('W', Blocks.BIRCH_PLANKS).patternLine("#W#").patternLine("#W#").setGroup("wooden_fence_gate").addCriterion("has_planks", this.hasItem(Blocks.BIRCH_PLANKS)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.BIRCH_PLANKS, 4).addIngredient(ItemTags.BIRCH_LOGS).setGroup("planks").addCriterion("has_log", this.hasItem(ItemTags.BIRCH_LOGS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BIRCH_PRESSURE_PLATE).key('#', Blocks.BIRCH_PLANKS).patternLine("##").setGroup("wooden_pressure_plate").addCriterion("has_planks", this.hasItem(Blocks.BIRCH_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BIRCH_SLAB, 6).key('#', Blocks.BIRCH_PLANKS).patternLine("###").setGroup("wooden_slab").addCriterion("has_planks", this.hasItem(Blocks.BIRCH_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BIRCH_STAIRS, 4).key('#', Blocks.BIRCH_PLANKS).patternLine("#  ").patternLine("## ").patternLine("###").setGroup("wooden_stairs").addCriterion("has_planks", this.hasItem(Blocks.BIRCH_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BIRCH_TRAPDOOR, 2).key('#', Blocks.BIRCH_PLANKS).patternLine("###").patternLine("###").setGroup("wooden_trapdoor").addCriterion("has_planks", this.hasItem(Blocks.BIRCH_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BLACK_BANNER).key('#', Blocks.BLACK_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_black_wool", this.hasItem(Blocks.BLACK_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BLACK_BED).key('#', Blocks.BLACK_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_black_wool", this.hasItem(Blocks.BLACK_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BLACK_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.BLACK_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "black_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLACK_CARPET, 3).key('#', Blocks.BLACK_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_black_wool", this.hasItem(Blocks.BLACK_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLACK_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.BLACK_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_black_dye", this.hasItem(Items.BLACK_DYE)).build(consumer, "black_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.BLACK_CONCRETE_POWDER, 8).addIngredient(Items.BLACK_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BLACK_DYE).addIngredient(Items.INK_SAC).setGroup("black_dye").addCriterion("has_ink_sac", this.hasItem(Items.INK_SAC)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BLACK_DYE).addIngredient(Blocks.WITHER_ROSE).setGroup("black_dye").addCriterion("has_black_flower", this.hasItem(Blocks.WITHER_ROSE)).build(consumer, "black_dye_from_wither_rose");
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLACK_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.BLACK_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLACK_STAINED_GLASS_PANE, 16).key('#', Blocks.BLACK_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLACK_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.BLACK_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_black_dye", this.hasItem(Items.BLACK_DYE)).build(consumer, "black_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLACK_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.BLACK_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.BLACK_WOOL).addIngredient(Items.BLACK_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BLAZE_POWDER, 2).addIngredient(Items.BLAZE_ROD).addCriterion("has_blaze_rod", this.hasItem(Items.BLAZE_ROD)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BLUE_BANNER).key('#', Blocks.BLUE_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_blue_wool", this.hasItem(Blocks.BLUE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BLUE_BED).key('#', Blocks.BLUE_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_blue_wool", this.hasItem(Blocks.BLUE_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BLUE_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.BLUE_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "blue_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLUE_CARPET, 3).key('#', Blocks.BLUE_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_blue_wool", this.hasItem(Blocks.BLUE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLUE_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.BLUE_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_blue_dye", this.hasItem(Items.BLUE_DYE)).build(consumer, "blue_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.BLUE_CONCRETE_POWDER, 8).addIngredient(Items.BLUE_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BLUE_DYE).addIngredient(Items.LAPIS_LAZULI).setGroup("blue_dye").addCriterion("has_lapis_lazuli", this.hasItem(Items.LAPIS_LAZULI)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BLUE_DYE).addIngredient(Blocks.CORNFLOWER).setGroup("blue_dye").addCriterion("has_blue_flower", this.hasItem(Blocks.CORNFLOWER)).build(consumer, "blue_dye_from_cornflower");
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLUE_ICE).key('#', Blocks.PACKED_ICE).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_at_least_9_packed_ice", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Blocks.PACKED_ICE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLUE_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.BLUE_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLUE_STAINED_GLASS_PANE, 16).key('#', Blocks.BLUE_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLUE_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.BLUE_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_blue_dye", this.hasItem(Items.BLUE_DYE)).build(consumer, "blue_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLUE_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.BLUE_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.BLUE_WOOL).addIngredient(Items.BLUE_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.OAK_BOAT).key('#', Blocks.OAK_PLANKS).patternLine("# #").patternLine("###").setGroup("boat").addCriterion("in_water", this.enteredBlock(Blocks.WATER)).build(consumer);
      Item item = Items.BONE_MEAL;
      ShapedRecipeBuilder.shapedRecipe(Blocks.BONE_BLOCK).key('X', Items.BONE_MEAL).patternLine("XXX").patternLine("XXX").patternLine("XXX").addCriterion("has_at_least_9_bonemeal", this.hasItem(MinMaxBounds.IntBound.atLeast(9), item)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BONE_MEAL, 3).addIngredient(Items.BONE).setGroup("bonemeal").addCriterion("has_bone", this.hasItem(Items.BONE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BONE_MEAL, 9).addIngredient(Blocks.BONE_BLOCK).setGroup("bonemeal").addCriterion("has_at_least_9_bonemeal", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.BONE_MEAL)).addCriterion("has_bone_block", this.hasItem(Blocks.BONE_BLOCK)).build(consumer, "bone_meal_from_bone_block");
      ShapelessRecipeBuilder.shapelessRecipe(Items.BOOK).addIngredient(Items.PAPER, 3).addIngredient(Items.LEATHER).addCriterion("has_paper", this.hasItem(Items.PAPER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BOOKSHELF).key('#', ItemTags.PLANKS).key('X', Items.BOOK).patternLine("###").patternLine("XXX").patternLine("###").addCriterion("has_book", this.hasItem(Items.BOOK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BOW).key('#', Items.STICK).key('X', Items.STRING).patternLine(" #X").patternLine("# X").patternLine(" #X").addCriterion("has_string", this.hasItem(Items.STRING)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BOWL, 4).key('#', ItemTags.PLANKS).patternLine("# #").patternLine(" # ").addCriterion("has_brown_mushroom", this.hasItem(Blocks.BROWN_MUSHROOM)).addCriterion("has_red_mushroom", this.hasItem(Blocks.RED_MUSHROOM)).addCriterion("has_mushroom_stew", this.hasItem(Items.MUSHROOM_STEW)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BREAD).key('#', Items.WHEAT).patternLine("###").addCriterion("has_wheat", this.hasItem(Items.WHEAT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BREWING_STAND).key('B', Items.BLAZE_ROD).key('#', Blocks.COBBLESTONE).patternLine(" B ").patternLine("###").addCriterion("has_blaze_rod", this.hasItem(Items.BLAZE_ROD)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BRICKS).key('#', Items.BRICK).patternLine("##").patternLine("##").addCriterion("has_brick", this.hasItem(Items.BRICK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BRICK_SLAB, 6).key('#', Blocks.BRICKS).patternLine("###").addCriterion("has_brick_block", this.hasItem(Blocks.BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BRICK_STAIRS, 4).key('#', Blocks.BRICKS).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_brick_block", this.hasItem(Blocks.BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BROWN_BANNER).key('#', Blocks.BROWN_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_brown_wool", this.hasItem(Blocks.BROWN_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BROWN_BED).key('#', Blocks.BROWN_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_brown_wool", this.hasItem(Blocks.BROWN_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BROWN_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.BROWN_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "brown_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.BROWN_CARPET, 3).key('#', Blocks.BROWN_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_brown_wool", this.hasItem(Blocks.BROWN_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BROWN_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.BROWN_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_brown_dye", this.hasItem(Items.BROWN_DYE)).build(consumer, "brown_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.BROWN_CONCRETE_POWDER, 8).addIngredient(Items.BROWN_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.BROWN_DYE).addIngredient(Items.COCOA_BEANS).setGroup("brown_dye").addCriterion("has_cocoa_beans", this.hasItem(Items.COCOA_BEANS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BROWN_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.BROWN_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BROWN_STAINED_GLASS_PANE, 16).key('#', Blocks.BROWN_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BROWN_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.BROWN_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_brown_dye", this.hasItem(Items.BROWN_DYE)).build(consumer, "brown_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.BROWN_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.BROWN_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.BROWN_WOOL).addIngredient(Items.BROWN_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BUCKET).key('#', Items.IRON_INGOT).patternLine("# #").patternLine(" # ").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CAKE).key('A', Items.MILK_BUCKET).key('B', Items.SUGAR).key('C', Items.WHEAT).key('E', Items.EGG).patternLine("AAA").patternLine("BEB").patternLine("CCC").addCriterion("has_egg", this.hasItem(Items.EGG)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CAMPFIRE).key('L', ItemTags.LOGS).key('S', Items.STICK).key('C', ItemTags.COALS).patternLine(" S ").patternLine("SCS").patternLine("LLL").addCriterion("has_stick", this.hasItem(Items.STICK)).addCriterion("has_coal", this.hasItem(ItemTags.COALS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.CARROT_ON_A_STICK).key('#', Items.FISHING_ROD).key('X', Items.CARROT).patternLine("# ").patternLine(" X").addCriterion("has_carrot", this.hasItem(Items.CARROT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CAULDRON).key('#', Items.IRON_INGOT).patternLine("# #").patternLine("# #").patternLine("###").addCriterion("has_water_bucket", this.hasItem(Items.WATER_BUCKET)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.COMPOSTER).key('F', ItemTags.WOODEN_FENCES).key('#', ItemTags.PLANKS).patternLine("F F").patternLine("F F").patternLine("###").addCriterion("has_wooden_fences", this.hasItem(ItemTags.WOODEN_FENCES)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CHEST).key('#', ItemTags.PLANKS).patternLine("###").patternLine("# #").patternLine("###").addCriterion("has_lots_of_items", new InventoryChangeTrigger.Instance(MinMaxBounds.IntBound.atLeast(10), MinMaxBounds.IntBound.UNBOUNDED, MinMaxBounds.IntBound.UNBOUNDED, new ItemPredicate[0])).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.CHEST_MINECART).key('A', Blocks.CHEST).key('B', Items.MINECART).patternLine("A").patternLine("B").addCriterion("has_minecart", this.hasItem(Items.MINECART)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CHISELED_QUARTZ_BLOCK).key('#', Blocks.QUARTZ_SLAB).patternLine("#").patternLine("#").addCriterion("has_chiseled_quartz_block", this.hasItem(Blocks.CHISELED_QUARTZ_BLOCK)).addCriterion("has_quartz_block", this.hasItem(Blocks.QUARTZ_BLOCK)).addCriterion("has_quartz_pillar", this.hasItem(Blocks.QUARTZ_PILLAR)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CHISELED_STONE_BRICKS).key('#', Blocks.STONE_BRICK_SLAB).patternLine("#").patternLine("#").addCriterion("has_stone_bricks", this.hasItem(ItemTags.STONE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CLAY).key('#', Items.CLAY_BALL).patternLine("##").patternLine("##").addCriterion("has_clay_ball", this.hasItem(Items.CLAY_BALL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.CLOCK).key('#', Items.GOLD_INGOT).key('X', Items.REDSTONE).patternLine(" # ").patternLine("#X#").patternLine(" # ").addCriterion("has_redstone", this.hasItem(Items.REDSTONE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.COAL, 9).addIngredient(Blocks.COAL_BLOCK).addCriterion("has_at_least_9_coal", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.COAL)).addCriterion("has_coal_block", this.hasItem(Blocks.COAL_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.COAL_BLOCK).key('#', Items.COAL).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_at_least_9_coal", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.COAL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.COARSE_DIRT, 4).key('D', Blocks.DIRT).key('G', Blocks.GRAVEL).patternLine("DG").patternLine("GD").addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.COBBLESTONE_SLAB, 6).key('#', Blocks.COBBLESTONE).patternLine("###").addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.COBBLESTONE_WALL, 6).key('#', Blocks.COBBLESTONE).patternLine("###").patternLine("###").addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.COMPARATOR).key('#', Blocks.REDSTONE_TORCH).key('X', Items.QUARTZ).key('I', Blocks.STONE).patternLine(" # ").patternLine("#X#").patternLine("III").addCriterion("has_quartz", this.hasItem(Items.QUARTZ)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.COMPASS).key('#', Items.IRON_INGOT).key('X', Items.REDSTONE).patternLine(" # ").patternLine("#X#").patternLine(" # ").addCriterion("has_redstone", this.hasItem(Items.REDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.COOKIE, 8).key('#', Items.WHEAT).key('X', Items.COCOA_BEANS).patternLine("#X#").addCriterion("has_cocoa", this.hasItem(Items.COCOA_BEANS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CRAFTING_TABLE).key('#', ItemTags.PLANKS).patternLine("##").patternLine("##").addCriterion("has_planks", this.hasItem(ItemTags.PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.CROSSBOW).key('~', Items.STRING).key('#', Items.STICK).key('&', Items.IRON_INGOT).key('$', Blocks.TRIPWIRE_HOOK).patternLine("#&#").patternLine("~$~").patternLine(" # ").addCriterion("has_string", this.hasItem(Items.STRING)).addCriterion("has_stick", this.hasItem(Items.STICK)).addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).addCriterion("has_tripwire_hook", this.hasItem(Blocks.TRIPWIRE_HOOK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LOOM).key('#', ItemTags.PLANKS).key('@', Items.STRING).patternLine("@@").patternLine("##").addCriterion("has_string", this.hasItem(Items.STRING)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CHISELED_RED_SANDSTONE).key('#', Blocks.RED_SANDSTONE_SLAB).patternLine("#").patternLine("#").addCriterion("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).addCriterion("has_chiseled_red_sandstone", this.hasItem(Blocks.CHISELED_RED_SANDSTONE)).addCriterion("has_cut_red_sandstone", this.hasItem(Blocks.CUT_RED_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CHISELED_SANDSTONE).key('#', Blocks.SANDSTONE_SLAB).patternLine("#").patternLine("#").addCriterion("has_stone_slab", this.hasItem(Blocks.SANDSTONE_SLAB)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.CYAN_BANNER).key('#', Blocks.CYAN_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_cyan_wool", this.hasItem(Blocks.CYAN_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.CYAN_BED).key('#', Blocks.CYAN_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_cyan_wool", this.hasItem(Blocks.CYAN_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.CYAN_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.CYAN_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "cyan_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.CYAN_CARPET, 3).key('#', Blocks.CYAN_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_cyan_wool", this.hasItem(Blocks.CYAN_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CYAN_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.CYAN_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_cyan_dye", this.hasItem(Items.CYAN_DYE)).build(consumer, "cyan_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.CYAN_CONCRETE_POWDER, 8).addIngredient(Items.CYAN_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.CYAN_DYE, 2).addIngredient(Items.BLUE_DYE).addIngredient(Items.GREEN_DYE).addCriterion("has_green_dye", this.hasItem(Items.GREEN_DYE)).addCriterion("has_blue_dye", this.hasItem(Items.BLUE_DYE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CYAN_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.CYAN_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CYAN_STAINED_GLASS_PANE, 16).key('#', Blocks.CYAN_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CYAN_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.CYAN_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_cyan_dye", this.hasItem(Items.CYAN_DYE)).build(consumer, "cyan_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.CYAN_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.CYAN_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.CYAN_WOOL).addIngredient(Items.CYAN_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_OAK_WOOD, 3).key('#', Blocks.DARK_OAK_LOG).patternLine("##").patternLine("##").setGroup("bark").addCriterion("has_log", this.hasItem(Blocks.DARK_OAK_LOG)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DARK_OAK_BOAT).key('#', Blocks.DARK_OAK_PLANKS).patternLine("# #").patternLine("###").setGroup("boat").addCriterion("in_water", this.enteredBlock(Blocks.WATER)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.DARK_OAK_BUTTON).addIngredient(Blocks.DARK_OAK_PLANKS).setGroup("wooden_button").addCriterion("has_planks", this.hasItem(Blocks.DARK_OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_OAK_DOOR, 3).key('#', Blocks.DARK_OAK_PLANKS).patternLine("##").patternLine("##").patternLine("##").setGroup("wooden_door").addCriterion("has_planks", this.hasItem(Blocks.DARK_OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_OAK_FENCE, 3).key('#', Items.STICK).key('W', Blocks.DARK_OAK_PLANKS).patternLine("W#W").patternLine("W#W").setGroup("wooden_fence").addCriterion("has_planks", this.hasItem(Blocks.DARK_OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_OAK_FENCE_GATE).key('#', Items.STICK).key('W', Blocks.DARK_OAK_PLANKS).patternLine("#W#").patternLine("#W#").setGroup("wooden_fence_gate").addCriterion("has_planks", this.hasItem(Blocks.DARK_OAK_PLANKS)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.DARK_OAK_PLANKS, 4).addIngredient(ItemTags.DARK_OAK_LOGS).setGroup("planks").addCriterion("has_logs", this.hasItem(ItemTags.DARK_OAK_LOGS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_OAK_PRESSURE_PLATE).key('#', Blocks.DARK_OAK_PLANKS).patternLine("##").setGroup("wooden_pressure_plate").addCriterion("has_planks", this.hasItem(Blocks.DARK_OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_OAK_SLAB, 6).key('#', Blocks.DARK_OAK_PLANKS).patternLine("###").setGroup("wooden_slab").addCriterion("has_planks", this.hasItem(Blocks.DARK_OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_OAK_STAIRS, 4).key('#', Blocks.DARK_OAK_PLANKS).patternLine("#  ").patternLine("## ").patternLine("###").setGroup("wooden_stairs").addCriterion("has_planks", this.hasItem(Blocks.DARK_OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_OAK_TRAPDOOR, 2).key('#', Blocks.DARK_OAK_PLANKS).patternLine("###").patternLine("###").setGroup("wooden_trapdoor").addCriterion("has_planks", this.hasItem(Blocks.DARK_OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_PRISMARINE).key('S', Items.PRISMARINE_SHARD).key('I', Items.INK_SAC).patternLine("SSS").patternLine("SIS").patternLine("SSS").addCriterion("has_prismarine_shard", this.hasItem(Items.PRISMARINE_SHARD)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PRISMARINE_STAIRS, 4).key('#', Blocks.PRISMARINE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_prismarine", this.hasItem(Blocks.PRISMARINE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PRISMARINE_BRICK_STAIRS, 4).key('#', Blocks.PRISMARINE_BRICKS).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_prismarine_bricks", this.hasItem(Blocks.PRISMARINE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_PRISMARINE_STAIRS, 4).key('#', Blocks.DARK_PRISMARINE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_dark_prismarine", this.hasItem(Blocks.DARK_PRISMARINE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DAYLIGHT_DETECTOR).key('Q', Items.QUARTZ).key('G', Blocks.GLASS).key('W', Ingredient.fromTag(ItemTags.WOODEN_SLABS)).patternLine("GGG").patternLine("QQQ").patternLine("WWW").addCriterion("has_quartz", this.hasItem(Items.QUARTZ)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DETECTOR_RAIL, 6).key('R', Items.REDSTONE).key('#', Blocks.STONE_PRESSURE_PLATE).key('X', Items.IRON_INGOT).patternLine("X X").patternLine("X#X").patternLine("XRX").addCriterion("has_rail", this.hasItem(Blocks.RAIL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.DIAMOND, 9).addIngredient(Blocks.DIAMOND_BLOCK).addCriterion("has_at_least_9_diamond", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.DIAMOND)).addCriterion("has_diamond_block", this.hasItem(Blocks.DIAMOND_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DIAMOND_AXE).key('#', Items.STICK).key('X', Items.DIAMOND).patternLine("XX").patternLine("X#").patternLine(" #").addCriterion("has_diamond", this.hasItem(Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DIAMOND_BLOCK).key('#', Items.DIAMOND).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_at_least_9_diamond", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DIAMOND_BOOTS).key('X', Items.DIAMOND).patternLine("X X").patternLine("X X").addCriterion("has_diamond", this.hasItem(Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DIAMOND_CHESTPLATE).key('X', Items.DIAMOND).patternLine("X X").patternLine("XXX").patternLine("XXX").addCriterion("has_diamond", this.hasItem(Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DIAMOND_HELMET).key('X', Items.DIAMOND).patternLine("XXX").patternLine("X X").addCriterion("has_diamond", this.hasItem(Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DIAMOND_HOE).key('#', Items.STICK).key('X', Items.DIAMOND).patternLine("XX").patternLine(" #").patternLine(" #").addCriterion("has_diamond", this.hasItem(Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DIAMOND_LEGGINGS).key('X', Items.DIAMOND).patternLine("XXX").patternLine("X X").patternLine("X X").addCriterion("has_diamond", this.hasItem(Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DIAMOND_PICKAXE).key('#', Items.STICK).key('X', Items.DIAMOND).patternLine("XXX").patternLine(" # ").patternLine(" # ").addCriterion("has_diamond", this.hasItem(Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DIAMOND_SHOVEL).key('#', Items.STICK).key('X', Items.DIAMOND).patternLine("X").patternLine("#").patternLine("#").addCriterion("has_diamond", this.hasItem(Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DIAMOND_SWORD).key('#', Items.STICK).key('X', Items.DIAMOND).patternLine("X").patternLine("X").patternLine("#").addCriterion("has_diamond", this.hasItem(Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DIORITE, 2).key('Q', Items.QUARTZ).key('C', Blocks.COBBLESTONE).patternLine("CQ").patternLine("QC").addCriterion("has_quartz", this.hasItem(Items.QUARTZ)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DISPENSER).key('R', Items.REDSTONE).key('#', Blocks.COBBLESTONE).key('X', Items.BOW).patternLine("###").patternLine("#X#").patternLine("#R#").addCriterion("has_bow", this.hasItem(Items.BOW)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DROPPER).key('R', Items.REDSTONE).key('#', Blocks.COBBLESTONE).patternLine("###").patternLine("# #").patternLine("#R#").addCriterion("has_redstone", this.hasItem(Items.REDSTONE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.EMERALD, 9).addIngredient(Blocks.EMERALD_BLOCK).addCriterion("has_at_least_9_emerald", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.EMERALD)).addCriterion("has_emerald_block", this.hasItem(Blocks.EMERALD_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.EMERALD_BLOCK).key('#', Items.EMERALD).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_at_least_9_emerald", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.EMERALD)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ENCHANTING_TABLE).key('B', Items.BOOK).key('#', Blocks.OBSIDIAN).key('D', Items.DIAMOND).patternLine(" B ").patternLine("D#D").patternLine("###").addCriterion("has_obsidian", this.hasItem(Blocks.OBSIDIAN)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ENDER_CHEST).key('#', Blocks.OBSIDIAN).key('E', Items.ENDER_EYE).patternLine("###").patternLine("#E#").patternLine("###").addCriterion("has_ender_eye", this.hasItem(Items.ENDER_EYE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.ENDER_EYE).addIngredient(Items.ENDER_PEARL).addIngredient(Items.BLAZE_POWDER).addCriterion("has_blaze_powder", this.hasItem(Items.BLAZE_POWDER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.END_STONE_BRICKS, 4).key('#', Blocks.END_STONE).patternLine("##").patternLine("##").addCriterion("has_end_stone", this.hasItem(Blocks.END_STONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.END_CRYSTAL).key('T', Items.GHAST_TEAR).key('E', Items.ENDER_EYE).key('G', Blocks.GLASS).patternLine("GGG").patternLine("GEG").patternLine("GTG").addCriterion("has_ender_eye", this.hasItem(Items.ENDER_EYE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.END_ROD, 4).key('#', Items.POPPED_CHORUS_FRUIT).key('/', Items.BLAZE_ROD).patternLine("/").patternLine("#").addCriterion("has_chorus_fruit_popped", this.hasItem(Items.POPPED_CHORUS_FRUIT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.OAK_FENCE, 3).key('#', Items.STICK).key('W', Blocks.OAK_PLANKS).patternLine("W#W").patternLine("W#W").setGroup("wooden_fence").addCriterion("has_planks", this.hasItem(Blocks.OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.OAK_FENCE_GATE).key('#', Items.STICK).key('W', Blocks.OAK_PLANKS).patternLine("#W#").patternLine("#W#").setGroup("wooden_fence_gate").addCriterion("has_planks", this.hasItem(Blocks.OAK_PLANKS)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.FERMENTED_SPIDER_EYE).addIngredient(Items.SPIDER_EYE).addIngredient(Blocks.BROWN_MUSHROOM).addIngredient(Items.SUGAR).addCriterion("has_spider_eye", this.hasItem(Items.SPIDER_EYE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.FIRE_CHARGE, 3).addIngredient(Items.GUNPOWDER).addIngredient(Items.BLAZE_POWDER).addIngredient(Ingredient.fromItems(Items.COAL, Items.CHARCOAL)).addCriterion("has_blaze_powder", this.hasItem(Items.BLAZE_POWDER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.FISHING_ROD).key('#', Items.STICK).key('X', Items.STRING).patternLine("  #").patternLine(" #X").patternLine("# X").addCriterion("has_string", this.hasItem(Items.STRING)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.FLINT_AND_STEEL).addIngredient(Items.IRON_INGOT).addIngredient(Items.FLINT).addCriterion("has_flint", this.hasItem(Items.FLINT)).addCriterion("has_obsidian", this.hasItem(Blocks.OBSIDIAN)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.FLOWER_POT).key('#', Items.BRICK).patternLine("# #").patternLine(" # ").addCriterion("has_brick", this.hasItem(Items.BRICK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.FURNACE).key('#', Blocks.COBBLESTONE).patternLine("###").patternLine("# #").patternLine("###").addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.FURNACE_MINECART).key('A', Blocks.FURNACE).key('B', Items.MINECART).patternLine("A").patternLine("B").addCriterion("has_minecart", this.hasItem(Items.MINECART)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GLASS_BOTTLE, 3).key('#', Blocks.GLASS).patternLine("# #").patternLine(" # ").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GLASS_PANE, 16).key('#', Blocks.GLASS).patternLine("###").patternLine("###").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GLOWSTONE).key('#', Items.GLOWSTONE_DUST).patternLine("##").patternLine("##").addCriterion("has_glowstone_dust", this.hasItem(Items.GLOWSTONE_DUST)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_APPLE).key('#', Items.GOLD_INGOT).key('X', Items.APPLE).patternLine("###").patternLine("#X#").patternLine("###").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_AXE).key('#', Items.STICK).key('X', Items.GOLD_INGOT).patternLine("XX").patternLine("X#").patternLine(" #").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_BOOTS).key('X', Items.GOLD_INGOT).patternLine("X X").patternLine("X X").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_CARROT).key('#', Items.GOLD_NUGGET).key('X', Items.CARROT).patternLine("###").patternLine("#X#").patternLine("###").addCriterion("has_gold_nugget", this.hasItem(Items.GOLD_NUGGET)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_CHESTPLATE).key('X', Items.GOLD_INGOT).patternLine("X X").patternLine("XXX").patternLine("XXX").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_HELMET).key('X', Items.GOLD_INGOT).patternLine("XXX").patternLine("X X").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_HOE).key('#', Items.STICK).key('X', Items.GOLD_INGOT).patternLine("XX").patternLine(" #").patternLine(" #").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_LEGGINGS).key('X', Items.GOLD_INGOT).patternLine("XXX").patternLine("X X").patternLine("X X").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_PICKAXE).key('#', Items.STICK).key('X', Items.GOLD_INGOT).patternLine("XXX").patternLine(" # ").patternLine(" # ").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.POWERED_RAIL, 6).key('R', Items.REDSTONE).key('#', Items.STICK).key('X', Items.GOLD_INGOT).patternLine("X X").patternLine("X#X").patternLine("XRX").addCriterion("has_rail", this.hasItem(Blocks.RAIL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_SHOVEL).key('#', Items.STICK).key('X', Items.GOLD_INGOT).patternLine("X").patternLine("#").patternLine("#").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GOLDEN_SWORD).key('#', Items.STICK).key('X', Items.GOLD_INGOT).patternLine("X").patternLine("X").patternLine("#").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GOLD_BLOCK).key('#', Items.GOLD_INGOT).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_at_least_9_gold_ingot", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.GOLD_INGOT)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.GOLD_INGOT, 9).addIngredient(Blocks.GOLD_BLOCK).setGroup("gold_ingot").addCriterion("has_at_least_9_gold_ingot", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.GOLD_INGOT)).addCriterion("has_gold_block", this.hasItem(Blocks.GOLD_BLOCK)).build(consumer, "gold_ingot_from_gold_block");
      ShapedRecipeBuilder.shapedRecipe(Items.GOLD_INGOT).key('#', Items.GOLD_NUGGET).patternLine("###").patternLine("###").patternLine("###").setGroup("gold_ingot").addCriterion("has_at_least_9_gold_nugget", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.GOLD_NUGGET)).build(consumer, "gold_ingot_from_nuggets");
      ShapelessRecipeBuilder.shapelessRecipe(Items.GOLD_NUGGET, 9).addIngredient(Items.GOLD_INGOT).addCriterion("has_at_least_9_gold_nugget", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.GOLD_NUGGET)).addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.GRANITE).addIngredient(Blocks.DIORITE).addIngredient(Items.QUARTZ).addCriterion("has_quartz", this.hasItem(Items.QUARTZ)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GRAY_BANNER).key('#', Blocks.GRAY_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_gray_wool", this.hasItem(Blocks.GRAY_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GRAY_BED).key('#', Blocks.GRAY_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_gray_wool", this.hasItem(Blocks.GRAY_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.GRAY_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.GRAY_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "gray_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.GRAY_CARPET, 3).key('#', Blocks.GRAY_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_gray_wool", this.hasItem(Blocks.GRAY_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GRAY_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.GRAY_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_gray_dye", this.hasItem(Items.GRAY_DYE)).build(consumer, "gray_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.GRAY_CONCRETE_POWDER, 8).addIngredient(Items.GRAY_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.GRAY_DYE, 2).addIngredient(Items.BLACK_DYE).addIngredient(Items.WHITE_DYE).addCriterion("has_white_dye", this.hasItem(Items.WHITE_DYE)).addCriterion("has_black_dye", this.hasItem(Items.BLACK_DYE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GRAY_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.GRAY_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GRAY_STAINED_GLASS_PANE, 16).key('#', Blocks.GRAY_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GRAY_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.GRAY_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_gray_dye", this.hasItem(Items.GRAY_DYE)).build(consumer, "gray_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.GRAY_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.GRAY_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.GRAY_WOOL).addIngredient(Items.GRAY_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GREEN_BANNER).key('#', Blocks.GREEN_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_green_wool", this.hasItem(Blocks.GREEN_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GREEN_BED).key('#', Blocks.GREEN_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_green_wool", this.hasItem(Blocks.GREEN_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.GREEN_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.GREEN_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "green_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.GREEN_CARPET, 3).key('#', Blocks.GREEN_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_green_wool", this.hasItem(Blocks.GREEN_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GREEN_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.GREEN_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_green_dye", this.hasItem(Items.GREEN_DYE)).build(consumer, "green_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.GREEN_CONCRETE_POWDER, 8).addIngredient(Items.GREEN_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GREEN_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.GREEN_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GREEN_STAINED_GLASS_PANE, 16).key('#', Blocks.GREEN_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GREEN_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.GREEN_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_green_dye", this.hasItem(Items.GREEN_DYE)).build(consumer, "green_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.GREEN_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.GREEN_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.GREEN_WOOL).addIngredient(Items.GREEN_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.HAY_BLOCK).key('#', Items.WHEAT).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_at_least_9_wheat", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.WHEAT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.HEAVY_WEIGHTED_PRESSURE_PLATE).key('#', Items.IRON_INGOT).patternLine("##").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.HOPPER).key('C', Blocks.CHEST).key('I', Items.IRON_INGOT).patternLine("I I").patternLine("ICI").patternLine(" I ").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.HOPPER_MINECART).key('A', Blocks.HOPPER).key('B', Items.MINECART).patternLine("A").patternLine("B").addCriterion("has_minecart", this.hasItem(Items.MINECART)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.IRON_AXE).key('#', Items.STICK).key('X', Items.IRON_INGOT).patternLine("XX").patternLine("X#").patternLine(" #").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.IRON_BARS, 16).key('#', Items.IRON_INGOT).patternLine("###").patternLine("###").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.IRON_BLOCK).key('#', Items.IRON_INGOT).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_at_least_9_iron_ingot", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.IRON_BOOTS).key('X', Items.IRON_INGOT).patternLine("X X").patternLine("X X").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.IRON_CHESTPLATE).key('X', Items.IRON_INGOT).patternLine("X X").patternLine("XXX").patternLine("XXX").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.IRON_DOOR, 3).key('#', Items.IRON_INGOT).patternLine("##").patternLine("##").patternLine("##").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.IRON_HELMET).key('X', Items.IRON_INGOT).patternLine("XXX").patternLine("X X").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.IRON_HOE).key('#', Items.STICK).key('X', Items.IRON_INGOT).patternLine("XX").patternLine(" #").patternLine(" #").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.IRON_INGOT, 9).addIngredient(Blocks.IRON_BLOCK).setGroup("iron_ingot").addCriterion("has_at_least_9_iron_ingot", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.IRON_INGOT)).addCriterion("has_iron_block", this.hasItem(Blocks.IRON_BLOCK)).build(consumer, "iron_ingot_from_iron_block");
      ShapedRecipeBuilder.shapedRecipe(Items.IRON_INGOT).key('#', Items.IRON_NUGGET).patternLine("###").patternLine("###").patternLine("###").setGroup("iron_ingot").addCriterion("has_at_least_9_iron_nugget", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.IRON_NUGGET)).build(consumer, "iron_ingot_from_nuggets");
      ShapedRecipeBuilder.shapedRecipe(Items.IRON_LEGGINGS).key('X', Items.IRON_INGOT).patternLine("XXX").patternLine("X X").patternLine("X X").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.IRON_NUGGET, 9).addIngredient(Items.IRON_INGOT).addCriterion("has_at_least_9_iron_nugget", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.IRON_NUGGET)).addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.IRON_PICKAXE).key('#', Items.STICK).key('X', Items.IRON_INGOT).patternLine("XXX").patternLine(" # ").patternLine(" # ").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.IRON_SHOVEL).key('#', Items.STICK).key('X', Items.IRON_INGOT).patternLine("X").patternLine("#").patternLine("#").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.IRON_SWORD).key('#', Items.STICK).key('X', Items.IRON_INGOT).patternLine("X").patternLine("X").patternLine("#").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.IRON_TRAPDOOR).key('#', Items.IRON_INGOT).patternLine("##").patternLine("##").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.ITEM_FRAME).key('#', Items.STICK).key('X', Items.LEATHER).patternLine("###").patternLine("#X#").patternLine("###").addCriterion("has_leather", this.hasItem(Items.LEATHER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.JUKEBOX).key('#', ItemTags.PLANKS).key('X', Items.DIAMOND).patternLine("###").patternLine("#X#").patternLine("###").addCriterion("has_diamond", this.hasItem(Items.DIAMOND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.JUNGLE_WOOD, 3).key('#', Blocks.JUNGLE_LOG).patternLine("##").patternLine("##").setGroup("bark").addCriterion("has_log", this.hasItem(Blocks.JUNGLE_LOG)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.JUNGLE_BOAT).key('#', Blocks.JUNGLE_PLANKS).patternLine("# #").patternLine("###").setGroup("boat").addCriterion("in_water", this.enteredBlock(Blocks.WATER)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.JUNGLE_BUTTON).addIngredient(Blocks.JUNGLE_PLANKS).setGroup("wooden_button").addCriterion("has_planks", this.hasItem(Blocks.JUNGLE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.JUNGLE_DOOR, 3).key('#', Blocks.JUNGLE_PLANKS).patternLine("##").patternLine("##").patternLine("##").setGroup("wooden_door").addCriterion("has_planks", this.hasItem(Blocks.JUNGLE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.JUNGLE_FENCE, 3).key('#', Items.STICK).key('W', Blocks.JUNGLE_PLANKS).patternLine("W#W").patternLine("W#W").setGroup("wooden_fence").addCriterion("has_planks", this.hasItem(Blocks.JUNGLE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.JUNGLE_FENCE_GATE).key('#', Items.STICK).key('W', Blocks.JUNGLE_PLANKS).patternLine("#W#").patternLine("#W#").setGroup("wooden_fence_gate").addCriterion("has_planks", this.hasItem(Blocks.JUNGLE_PLANKS)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.JUNGLE_PLANKS, 4).addIngredient(ItemTags.JUNGLE_LOGS).setGroup("planks").addCriterion("has_log", this.hasItem(ItemTags.JUNGLE_LOGS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.JUNGLE_PRESSURE_PLATE).key('#', Blocks.JUNGLE_PLANKS).patternLine("##").setGroup("wooden_pressure_plate").addCriterion("has_planks", this.hasItem(Blocks.JUNGLE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.JUNGLE_SLAB, 6).key('#', Blocks.JUNGLE_PLANKS).patternLine("###").setGroup("wooden_slab").addCriterion("has_planks", this.hasItem(Blocks.JUNGLE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.JUNGLE_STAIRS, 4).key('#', Blocks.JUNGLE_PLANKS).patternLine("#  ").patternLine("## ").patternLine("###").setGroup("wooden_stairs").addCriterion("has_planks", this.hasItem(Blocks.JUNGLE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.JUNGLE_TRAPDOOR, 2).key('#', Blocks.JUNGLE_PLANKS).patternLine("###").patternLine("###").setGroup("wooden_trapdoor").addCriterion("has_planks", this.hasItem(Blocks.JUNGLE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LADDER, 3).key('#', Items.STICK).patternLine("# #").patternLine("###").patternLine("# #").addCriterion("has_stick", this.hasItem(Items.STICK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LAPIS_BLOCK).key('#', Items.LAPIS_LAZULI).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_at_least_9_lapis", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.LAPIS_LAZULI)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.LAPIS_LAZULI, 9).addIngredient(Blocks.LAPIS_BLOCK).addCriterion("has_at_least_9_lapis", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.LAPIS_LAZULI)).addCriterion("has_lapis_block", this.hasItem(Blocks.LAPIS_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LEAD, 2).key('~', Items.STRING).key('O', Items.SLIME_BALL).patternLine("~~ ").patternLine("~O ").patternLine("  ~").addCriterion("has_slime_ball", this.hasItem(Items.SLIME_BALL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LEATHER).key('#', Items.RABBIT_HIDE).patternLine("##").patternLine("##").addCriterion("has_rabbit_hide", this.hasItem(Items.RABBIT_HIDE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LEATHER_BOOTS).key('X', Items.LEATHER).patternLine("X X").patternLine("X X").addCriterion("has_leather", this.hasItem(Items.LEATHER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LEATHER_CHESTPLATE).key('X', Items.LEATHER).patternLine("X X").patternLine("XXX").patternLine("XXX").addCriterion("has_leather", this.hasItem(Items.LEATHER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LEATHER_HELMET).key('X', Items.LEATHER).patternLine("XXX").patternLine("X X").addCriterion("has_leather", this.hasItem(Items.LEATHER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LEATHER_LEGGINGS).key('X', Items.LEATHER).patternLine("XXX").patternLine("X X").patternLine("X X").addCriterion("has_leather", this.hasItem(Items.LEATHER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LEATHER_HORSE_ARMOR).key('X', Items.LEATHER).patternLine("X X").patternLine("XXX").patternLine("X X").addCriterion("has_leather", this.hasItem(Items.LEATHER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LECTERN).key('S', ItemTags.WOODEN_SLABS).key('B', Blocks.BOOKSHELF).patternLine("SSS").patternLine(" B ").patternLine(" S ").addCriterion("has_book", this.hasItem(Items.BOOK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LEVER).key('#', Blocks.COBBLESTONE).key('X', Items.STICK).patternLine("X").patternLine("#").addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LIGHT_BLUE_BANNER).key('#', Blocks.LIGHT_BLUE_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_light_blue_wool", this.hasItem(Blocks.LIGHT_BLUE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LIGHT_BLUE_BED).key('#', Blocks.LIGHT_BLUE_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_light_blue_wool", this.hasItem(Blocks.LIGHT_BLUE_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIGHT_BLUE_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.LIGHT_BLUE_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "light_blue_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_BLUE_CARPET, 3).key('#', Blocks.LIGHT_BLUE_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_light_blue_wool", this.hasItem(Blocks.LIGHT_BLUE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_BLUE_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.LIGHT_BLUE_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_light_blue_dye", this.hasItem(Items.LIGHT_BLUE_DYE)).build(consumer, "light_blue_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.LIGHT_BLUE_CONCRETE_POWDER, 8).addIngredient(Items.LIGHT_BLUE_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIGHT_BLUE_DYE).addIngredient(Blocks.BLUE_ORCHID).setGroup("light_blue_dye").addCriterion("has_red_flower", this.hasItem(Blocks.BLUE_ORCHID)).build(consumer, "light_blue_dye_from_blue_orchid");
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIGHT_BLUE_DYE, 2).addIngredient(Items.BLUE_DYE).addIngredient(Items.WHITE_DYE).setGroup("light_blue_dye").addCriterion("has_blue_dye", this.hasItem(Items.BLUE_DYE)).addCriterion("has_white_dye", this.hasItem(Items.WHITE_DYE)).build(consumer, "light_blue_dye_from_blue_white_dye");
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_BLUE_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.LIGHT_BLUE_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_BLUE_STAINED_GLASS_PANE, 16).key('#', Blocks.LIGHT_BLUE_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_BLUE_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.LIGHT_BLUE_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_light_blue_dye", this.hasItem(Items.LIGHT_BLUE_DYE)).build(consumer, "light_blue_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_BLUE_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.LIGHT_BLUE_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.LIGHT_BLUE_WOOL).addIngredient(Items.LIGHT_BLUE_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LIGHT_GRAY_BANNER).key('#', Blocks.LIGHT_GRAY_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_light_gray_wool", this.hasItem(Blocks.LIGHT_GRAY_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LIGHT_GRAY_BED).key('#', Blocks.LIGHT_GRAY_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_light_gray_wool", this.hasItem(Blocks.LIGHT_GRAY_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIGHT_GRAY_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.LIGHT_GRAY_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "light_gray_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_GRAY_CARPET, 3).key('#', Blocks.LIGHT_GRAY_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_light_gray_wool", this.hasItem(Blocks.LIGHT_GRAY_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_GRAY_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.LIGHT_GRAY_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_light_gray_dye", this.hasItem(Items.LIGHT_GRAY_DYE)).build(consumer, "light_gray_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.LIGHT_GRAY_CONCRETE_POWDER, 8).addIngredient(Items.LIGHT_GRAY_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIGHT_GRAY_DYE).addIngredient(Blocks.AZURE_BLUET).setGroup("light_gray_dye").addCriterion("has_red_flower", this.hasItem(Blocks.AZURE_BLUET)).build(consumer, "light_gray_dye_from_azure_bluet");
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIGHT_GRAY_DYE, 2).addIngredient(Items.GRAY_DYE).addIngredient(Items.WHITE_DYE).setGroup("light_gray_dye").addCriterion("has_gray_dye", this.hasItem(Items.GRAY_DYE)).addCriterion("has_white_dye", this.hasItem(Items.WHITE_DYE)).build(consumer, "light_gray_dye_from_gray_white_dye");
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIGHT_GRAY_DYE, 3).addIngredient(Items.BLACK_DYE).addIngredient(Items.WHITE_DYE, 2).setGroup("light_gray_dye").addCriterion("has_white_dye", this.hasItem(Items.WHITE_DYE)).addCriterion("has_black_dye", this.hasItem(Items.BLACK_DYE)).build(consumer, "light_gray_dye_from_black_white_dye");
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIGHT_GRAY_DYE).addIngredient(Blocks.OXEYE_DAISY).setGroup("light_gray_dye").addCriterion("has_red_flower", this.hasItem(Blocks.OXEYE_DAISY)).build(consumer, "light_gray_dye_from_oxeye_daisy");
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIGHT_GRAY_DYE).addIngredient(Blocks.WHITE_TULIP).setGroup("light_gray_dye").addCriterion("has_red_flower", this.hasItem(Blocks.WHITE_TULIP)).build(consumer, "light_gray_dye_from_white_tulip");
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_GRAY_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.LIGHT_GRAY_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_GRAY_STAINED_GLASS_PANE, 16).key('#', Blocks.LIGHT_GRAY_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_GRAY_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.LIGHT_GRAY_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_light_gray_dye", this.hasItem(Items.LIGHT_GRAY_DYE)).build(consumer, "light_gray_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_GRAY_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.LIGHT_GRAY_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.LIGHT_GRAY_WOOL).addIngredient(Items.LIGHT_GRAY_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIGHT_WEIGHTED_PRESSURE_PLATE).key('#', Items.GOLD_INGOT).patternLine("##").addCriterion("has_gold_ingot", this.hasItem(Items.GOLD_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LIME_BANNER).key('#', Blocks.LIME_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_lime_wool", this.hasItem(Blocks.LIME_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.LIME_BED).key('#', Blocks.LIME_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_lime_wool", this.hasItem(Blocks.LIME_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIME_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.LIME_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "lime_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIME_CARPET, 3).key('#', Blocks.LIME_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_lime_wool", this.hasItem(Blocks.LIME_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIME_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.LIME_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_lime_dye", this.hasItem(Items.LIME_DYE)).build(consumer, "lime_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.LIME_CONCRETE_POWDER, 8).addIngredient(Items.LIME_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.LIME_DYE, 2).addIngredient(Items.GREEN_DYE).addIngredient(Items.WHITE_DYE).addCriterion("has_green_dye", this.hasItem(Items.GREEN_DYE)).addCriterion("has_white_dye", this.hasItem(Items.WHITE_DYE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIME_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.LIME_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIME_STAINED_GLASS_PANE, 16).key('#', Blocks.LIME_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIME_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.LIME_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_lime_dye", this.hasItem(Items.LIME_DYE)).build(consumer, "lime_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.LIME_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.LIME_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.LIME_WOOL).addIngredient(Items.LIME_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.JACK_O_LANTERN).key('A', Blocks.CARVED_PUMPKIN).key('B', Blocks.TORCH).patternLine("A").patternLine("B").addCriterion("has_carved_pumpkin", this.hasItem(Blocks.CARVED_PUMPKIN)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.MAGENTA_BANNER).key('#', Blocks.MAGENTA_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_magenta_wool", this.hasItem(Blocks.MAGENTA_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.MAGENTA_BED).key('#', Blocks.MAGENTA_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_magenta_wool", this.hasItem(Blocks.MAGENTA_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.MAGENTA_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.MAGENTA_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "magenta_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.MAGENTA_CARPET, 3).key('#', Blocks.MAGENTA_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_magenta_wool", this.hasItem(Blocks.MAGENTA_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MAGENTA_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.MAGENTA_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_magenta_dye", this.hasItem(Items.MAGENTA_DYE)).build(consumer, "magenta_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.MAGENTA_CONCRETE_POWDER, 8).addIngredient(Items.MAGENTA_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.MAGENTA_DYE).addIngredient(Blocks.ALLIUM).setGroup("magenta_dye").addCriterion("has_red_flower", this.hasItem(Blocks.ALLIUM)).build(consumer, "magenta_dye_from_allium");
      ShapelessRecipeBuilder.shapelessRecipe(Items.MAGENTA_DYE, 4).addIngredient(Items.BLUE_DYE).addIngredient(Items.RED_DYE, 2).addIngredient(Items.WHITE_DYE).setGroup("magenta_dye").addCriterion("has_blue_dye", this.hasItem(Items.BLUE_DYE)).addCriterion("has_rose_red", this.hasItem(Items.RED_DYE)).addCriterion("has_white_dye", this.hasItem(Items.WHITE_DYE)).build(consumer, "magenta_dye_from_blue_red_white_dye");
      ShapelessRecipeBuilder.shapelessRecipe(Items.MAGENTA_DYE, 3).addIngredient(Items.BLUE_DYE).addIngredient(Items.RED_DYE).addIngredient(Items.PINK_DYE).setGroup("magenta_dye").addCriterion("has_pink_dye", this.hasItem(Items.PINK_DYE)).addCriterion("has_blue_dye", this.hasItem(Items.BLUE_DYE)).addCriterion("has_red_dye", this.hasItem(Items.RED_DYE)).build(consumer, "magenta_dye_from_blue_red_pink");
      ShapelessRecipeBuilder.shapelessRecipe(Items.MAGENTA_DYE, 2).addIngredient(Blocks.LILAC).setGroup("magenta_dye").addCriterion("has_double_plant", this.hasItem(Blocks.LILAC)).build(consumer, "magenta_dye_from_lilac");
      ShapelessRecipeBuilder.shapelessRecipe(Items.MAGENTA_DYE, 2).addIngredient(Items.PURPLE_DYE).addIngredient(Items.PINK_DYE).setGroup("magenta_dye").addCriterion("has_pink_dye", this.hasItem(Items.PINK_DYE)).addCriterion("has_purple_dye", this.hasItem(Items.PURPLE_DYE)).build(consumer, "magenta_dye_from_purple_and_pink");
      ShapedRecipeBuilder.shapedRecipe(Blocks.MAGENTA_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.MAGENTA_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MAGENTA_STAINED_GLASS_PANE, 16).key('#', Blocks.MAGENTA_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MAGENTA_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.MAGENTA_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_magenta_dye", this.hasItem(Items.MAGENTA_DYE)).build(consumer, "magenta_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.MAGENTA_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.MAGENTA_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.MAGENTA_WOOL).addIngredient(Items.MAGENTA_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MAGMA_BLOCK).key('#', Items.MAGMA_CREAM).patternLine("##").patternLine("##").addCriterion("has_magma_cream", this.hasItem(Items.MAGMA_CREAM)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.MAGMA_CREAM).addIngredient(Items.BLAZE_POWDER).addIngredient(Items.SLIME_BALL).addCriterion("has_blaze_powder", this.hasItem(Items.BLAZE_POWDER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.MAP).key('#', Items.PAPER).key('X', Items.COMPASS).patternLine("###").patternLine("#X#").patternLine("###").addCriterion("has_compass", this.hasItem(Items.COMPASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MELON).key('M', Items.MELON_SLICE).patternLine("MMM").patternLine("MMM").patternLine("MMM").addCriterion("has_melon", this.hasItem(Items.MELON_SLICE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.MELON_SEEDS).addIngredient(Items.MELON_SLICE).addCriterion("has_melon", this.hasItem(Items.MELON_SLICE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.MINECART).key('#', Items.IRON_INGOT).patternLine("# #").patternLine("###").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.MOSSY_COBBLESTONE).addIngredient(Blocks.COBBLESTONE).addIngredient(Blocks.VINE).addCriterion("has_vine", this.hasItem(Blocks.VINE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MOSSY_COBBLESTONE_WALL, 6).key('#', Blocks.MOSSY_COBBLESTONE).patternLine("###").patternLine("###").addCriterion("has_mossy_cobblestone", this.hasItem(Blocks.MOSSY_COBBLESTONE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.MOSSY_STONE_BRICKS).addIngredient(Blocks.STONE_BRICKS).addIngredient(Blocks.VINE).addCriterion("has_mossy_cobblestone", this.hasItem(Blocks.MOSSY_COBBLESTONE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.MUSHROOM_STEW).addIngredient(Blocks.BROWN_MUSHROOM).addIngredient(Blocks.RED_MUSHROOM).addIngredient(Items.BOWL).addCriterion("has_mushroom_stew", this.hasItem(Items.MUSHROOM_STEW)).addCriterion("has_bowl", this.hasItem(Items.BOWL)).addCriterion("has_brown_mushroom", this.hasItem(Blocks.BROWN_MUSHROOM)).addCriterion("has_red_mushroom", this.hasItem(Blocks.RED_MUSHROOM)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.NETHER_BRICKS).key('N', Items.NETHER_BRICK).patternLine("NN").patternLine("NN").addCriterion("has_netherbrick", this.hasItem(Items.NETHER_BRICK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.NETHER_BRICK_FENCE, 6).key('#', Blocks.NETHER_BRICKS).key('-', Items.NETHER_BRICK).patternLine("#-#").patternLine("#-#").addCriterion("has_nether_brick", this.hasItem(Blocks.NETHER_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.NETHER_BRICK_SLAB, 6).key('#', Blocks.NETHER_BRICKS).patternLine("###").addCriterion("has_nether_brick", this.hasItem(Blocks.NETHER_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.NETHER_BRICK_STAIRS, 4).key('#', Blocks.NETHER_BRICKS).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_nether_brick", this.hasItem(Blocks.NETHER_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.NETHER_WART_BLOCK).key('#', Items.NETHER_WART).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_nether_wart", this.hasItem(Items.NETHER_WART)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.NOTE_BLOCK).key('#', ItemTags.PLANKS).key('X', Items.REDSTONE).patternLine("###").patternLine("#X#").patternLine("###").addCriterion("has_redstone", this.hasItem(Items.REDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.OAK_WOOD, 3).key('#', Blocks.OAK_LOG).patternLine("##").patternLine("##").setGroup("bark").addCriterion("has_log", this.hasItem(Blocks.OAK_LOG)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.OAK_BUTTON).addIngredient(Blocks.OAK_PLANKS).setGroup("wooden_button").addCriterion("has_planks", this.hasItem(Blocks.OAK_PLANKS)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.OAK_PLANKS, 4).addIngredient(ItemTags.OAK_LOGS).setGroup("planks").addCriterion("has_log", this.hasItem(ItemTags.OAK_LOGS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.OAK_PRESSURE_PLATE).key('#', Blocks.OAK_PLANKS).patternLine("##").setGroup("wooden_pressure_plate").addCriterion("has_planks", this.hasItem(Blocks.OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.OAK_SLAB, 6).key('#', Blocks.OAK_PLANKS).patternLine("###").setGroup("wooden_slab").addCriterion("has_planks", this.hasItem(Blocks.OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.OAK_STAIRS, 4).key('#', Blocks.OAK_PLANKS).patternLine("#  ").patternLine("## ").patternLine("###").setGroup("wooden_stairs").addCriterion("has_planks", this.hasItem(Blocks.OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.OAK_TRAPDOOR, 2).key('#', Blocks.OAK_PLANKS).patternLine("###").patternLine("###").setGroup("wooden_trapdoor").addCriterion("has_planks", this.hasItem(Blocks.OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.OBSERVER).key('Q', Items.QUARTZ).key('R', Items.REDSTONE).key('#', Blocks.COBBLESTONE).patternLine("###").patternLine("RRQ").patternLine("###").addCriterion("has_quartz", this.hasItem(Items.QUARTZ)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.ORANGE_BANNER).key('#', Blocks.ORANGE_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_orange_wool", this.hasItem(Blocks.ORANGE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.ORANGE_BED).key('#', Blocks.ORANGE_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_orange_wool", this.hasItem(Blocks.ORANGE_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.ORANGE_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.ORANGE_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "orange_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.ORANGE_CARPET, 3).key('#', Blocks.ORANGE_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_orange_wool", this.hasItem(Blocks.ORANGE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ORANGE_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.ORANGE_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_oramge_dye", this.hasItem(Items.ORANGE_DYE)).build(consumer, "orange_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.ORANGE_CONCRETE_POWDER, 8).addIngredient(Items.ORANGE_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.ORANGE_DYE).addIngredient(Blocks.ORANGE_TULIP).setGroup("orange_dye").addCriterion("has_red_flower", this.hasItem(Blocks.ORANGE_TULIP)).build(consumer, "orange_dye_from_orange_tulip");
      ShapelessRecipeBuilder.shapelessRecipe(Items.ORANGE_DYE, 2).addIngredient(Items.RED_DYE).addIngredient(Items.YELLOW_DYE).setGroup("orange_dye").addCriterion("has_red_dye", this.hasItem(Items.RED_DYE)).addCriterion("has_yellow_dye", this.hasItem(Items.YELLOW_DYE)).build(consumer, "orange_dye_from_red_yellow");
      ShapedRecipeBuilder.shapedRecipe(Blocks.ORANGE_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.ORANGE_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ORANGE_STAINED_GLASS_PANE, 16).key('#', Blocks.ORANGE_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ORANGE_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.ORANGE_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_orange_dye", this.hasItem(Items.ORANGE_DYE)).build(consumer, "orange_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.ORANGE_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.ORANGE_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.ORANGE_WOOL).addIngredient(Items.ORANGE_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.PAINTING).key('#', Items.STICK).key('X', Ingredient.fromTag(ItemTags.WOOL)).patternLine("###").patternLine("#X#").patternLine("###").addCriterion("has_wool", this.hasItem(ItemTags.WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.PAPER, 3).key('#', Blocks.SUGAR_CANE).patternLine("###").addCriterion("has_reeds", this.hasItem(Blocks.SUGAR_CANE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.QUARTZ_PILLAR, 2).key('#', Blocks.QUARTZ_BLOCK).patternLine("#").patternLine("#").addCriterion("has_chiseled_quartz_block", this.hasItem(Blocks.CHISELED_QUARTZ_BLOCK)).addCriterion("has_quartz_block", this.hasItem(Blocks.QUARTZ_BLOCK)).addCriterion("has_quartz_pillar", this.hasItem(Blocks.QUARTZ_PILLAR)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.PACKED_ICE).addIngredient(Blocks.ICE, 9).addCriterion("has_at_least_9_ice", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Blocks.ICE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.PINK_BANNER).key('#', Blocks.PINK_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_pink_wool", this.hasItem(Blocks.PINK_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.PINK_BED).key('#', Blocks.PINK_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_pink_wool", this.hasItem(Blocks.PINK_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.PINK_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.PINK_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "pink_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.PINK_CARPET, 3).key('#', Blocks.PINK_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_pink_wool", this.hasItem(Blocks.PINK_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PINK_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.PINK_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_pink_dye", this.hasItem(Items.PINK_DYE)).build(consumer, "pink_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.PINK_CONCRETE_POWDER, 8).addIngredient(Items.PINK_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.PINK_DYE, 2).addIngredient(Blocks.PEONY).setGroup("pink_dye").addCriterion("has_double_plant", this.hasItem(Blocks.PEONY)).build(consumer, "pink_dye_from_peony");
      ShapelessRecipeBuilder.shapelessRecipe(Items.PINK_DYE).addIngredient(Blocks.PINK_TULIP).setGroup("pink_dye").addCriterion("has_red_flower", this.hasItem(Blocks.PINK_TULIP)).build(consumer, "pink_dye_from_pink_tulip");
      ShapelessRecipeBuilder.shapelessRecipe(Items.PINK_DYE, 2).addIngredient(Items.RED_DYE).addIngredient(Items.WHITE_DYE).setGroup("pink_dye").addCriterion("has_white_dye", this.hasItem(Items.WHITE_DYE)).addCriterion("has_red_dye", this.hasItem(Items.RED_DYE)).build(consumer, "pink_dye_from_red_white_dye");
      ShapedRecipeBuilder.shapedRecipe(Blocks.PINK_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.PINK_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PINK_STAINED_GLASS_PANE, 16).key('#', Blocks.PINK_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PINK_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.PINK_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_pink_dye", this.hasItem(Items.PINK_DYE)).build(consumer, "pink_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.PINK_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.PINK_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.PINK_WOOL).addIngredient(Items.PINK_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PISTON).key('R', Items.REDSTONE).key('#', Blocks.COBBLESTONE).key('T', ItemTags.PLANKS).key('X', Items.IRON_INGOT).patternLine("TTT").patternLine("#X#").patternLine("#R#").addCriterion("has_redstone", this.hasItem(Items.REDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.POLISHED_GRANITE, 4).key('S', Blocks.GRANITE).patternLine("SS").patternLine("SS").addCriterion("has_stone", this.hasItem(Blocks.GRANITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.POLISHED_DIORITE, 4).key('S', Blocks.DIORITE).patternLine("SS").patternLine("SS").addCriterion("has_stone", this.hasItem(Blocks.DIORITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.POLISHED_ANDESITE, 4).key('S', Blocks.ANDESITE).patternLine("SS").patternLine("SS").addCriterion("has_stone", this.hasItem(Blocks.ANDESITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PRISMARINE).key('S', Items.PRISMARINE_SHARD).patternLine("SS").patternLine("SS").addCriterion("has_prismarine_shard", this.hasItem(Items.PRISMARINE_SHARD)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PRISMARINE_BRICKS).key('S', Items.PRISMARINE_SHARD).patternLine("SSS").patternLine("SSS").patternLine("SSS").addCriterion("has_prismarine_shard", this.hasItem(Items.PRISMARINE_SHARD)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PRISMARINE_SLAB, 6).key('#', Blocks.PRISMARINE).patternLine("###").addCriterion("has_prismarine", this.hasItem(Blocks.PRISMARINE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PRISMARINE_BRICK_SLAB, 6).key('#', Blocks.PRISMARINE_BRICKS).patternLine("###").addCriterion("has_prismarine_bricks", this.hasItem(Blocks.PRISMARINE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DARK_PRISMARINE_SLAB, 6).key('#', Blocks.DARK_PRISMARINE).patternLine("###").addCriterion("has_dark_prismarine", this.hasItem(Blocks.DARK_PRISMARINE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.PUMPKIN_PIE).addIngredient(Blocks.PUMPKIN).addIngredient(Items.SUGAR).addIngredient(Items.EGG).addCriterion("has_carved_pumpkin", this.hasItem(Blocks.CARVED_PUMPKIN)).addCriterion("has_pumpkin", this.hasItem(Blocks.PUMPKIN)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.PUMPKIN_SEEDS, 4).addIngredient(Blocks.PUMPKIN).addCriterion("has_pumpkin", this.hasItem(Blocks.PUMPKIN)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.PURPLE_BANNER).key('#', Blocks.PURPLE_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_purple_wool", this.hasItem(Blocks.PURPLE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.PURPLE_BED).key('#', Blocks.PURPLE_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_purple_wool", this.hasItem(Blocks.PURPLE_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.PURPLE_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.PURPLE_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "purple_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.PURPLE_CARPET, 3).key('#', Blocks.PURPLE_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_purple_wool", this.hasItem(Blocks.PURPLE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PURPLE_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.PURPLE_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_purple_dye", this.hasItem(Items.PURPLE_DYE)).build(consumer, "purple_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.PURPLE_CONCRETE_POWDER, 8).addIngredient(Items.PURPLE_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.PURPLE_DYE, 2).addIngredient(Items.BLUE_DYE).addIngredient(Items.RED_DYE).addCriterion("has_blue_dye", this.hasItem(Items.BLUE_DYE)).addCriterion("has_red_dye", this.hasItem(Items.RED_DYE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SHULKER_BOX).key('#', Blocks.CHEST).key('-', Items.SHULKER_SHELL).patternLine("-").patternLine("#").patternLine("-").addCriterion("has_shulker_shell", this.hasItem(Items.SHULKER_SHELL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PURPLE_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.PURPLE_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PURPLE_STAINED_GLASS_PANE, 16).key('#', Blocks.PURPLE_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PURPLE_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.PURPLE_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_purple_dye", this.hasItem(Items.PURPLE_DYE)).build(consumer, "purple_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.PURPLE_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.PURPLE_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.PURPLE_WOOL).addIngredient(Items.PURPLE_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PURPUR_BLOCK, 4).key('F', Items.POPPED_CHORUS_FRUIT).patternLine("FF").patternLine("FF").addCriterion("has_chorus_fruit_popped", this.hasItem(Items.POPPED_CHORUS_FRUIT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PURPUR_PILLAR).key('#', Blocks.PURPUR_SLAB).patternLine("#").patternLine("#").addCriterion("has_purpur_block", this.hasItem(Blocks.PURPUR_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PURPUR_SLAB, 6).key('#', Ingredient.fromItems(Blocks.PURPUR_BLOCK, Blocks.PURPUR_PILLAR)).patternLine("###").addCriterion("has_purpur_block", this.hasItem(Blocks.PURPUR_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PURPUR_STAIRS, 4).key('#', Ingredient.fromItems(Blocks.PURPUR_BLOCK, Blocks.PURPUR_PILLAR)).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_purpur_block", this.hasItem(Blocks.PURPUR_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.QUARTZ_BLOCK).key('#', Items.QUARTZ).patternLine("##").patternLine("##").addCriterion("has_quartz", this.hasItem(Items.QUARTZ)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.QUARTZ_SLAB, 6).key('#', Ingredient.fromItems(Blocks.CHISELED_QUARTZ_BLOCK, Blocks.QUARTZ_BLOCK, Blocks.QUARTZ_PILLAR)).patternLine("###").addCriterion("has_chiseled_quartz_block", this.hasItem(Blocks.CHISELED_QUARTZ_BLOCK)).addCriterion("has_quartz_block", this.hasItem(Blocks.QUARTZ_BLOCK)).addCriterion("has_quartz_pillar", this.hasItem(Blocks.QUARTZ_PILLAR)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.QUARTZ_STAIRS, 4).key('#', Ingredient.fromItems(Blocks.CHISELED_QUARTZ_BLOCK, Blocks.QUARTZ_BLOCK, Blocks.QUARTZ_PILLAR)).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_chiseled_quartz_block", this.hasItem(Blocks.CHISELED_QUARTZ_BLOCK)).addCriterion("has_quartz_block", this.hasItem(Blocks.QUARTZ_BLOCK)).addCriterion("has_quartz_pillar", this.hasItem(Blocks.QUARTZ_PILLAR)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.RABBIT_STEW).addIngredient(Items.BAKED_POTATO).addIngredient(Items.COOKED_RABBIT).addIngredient(Items.BOWL).addIngredient(Items.CARROT).addIngredient(Blocks.BROWN_MUSHROOM).setGroup("rabbit_stew").addCriterion("has_cooked_rabbit", this.hasItem(Items.COOKED_RABBIT)).build(consumer, "rabbit_stew_from_brown_mushroom");
      ShapelessRecipeBuilder.shapelessRecipe(Items.RABBIT_STEW).addIngredient(Items.BAKED_POTATO).addIngredient(Items.COOKED_RABBIT).addIngredient(Items.BOWL).addIngredient(Items.CARROT).addIngredient(Blocks.RED_MUSHROOM).setGroup("rabbit_stew").addCriterion("has_cooked_rabbit", this.hasItem(Items.COOKED_RABBIT)).build(consumer, "rabbit_stew_from_red_mushroom");
      ShapedRecipeBuilder.shapedRecipe(Blocks.RAIL, 16).key('#', Items.STICK).key('X', Items.IRON_INGOT).patternLine("X X").patternLine("X#X").patternLine("X X").addCriterion("has_minecart", this.hasItem(Items.MINECART)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.REDSTONE, 9).addIngredient(Blocks.REDSTONE_BLOCK).addCriterion("has_redstone_block", this.hasItem(Blocks.REDSTONE_BLOCK)).addCriterion("has_at_least_9_redstone", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.REDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.REDSTONE_BLOCK).key('#', Items.REDSTONE).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_at_least_9_redstone", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.REDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.REDSTONE_LAMP).key('R', Items.REDSTONE).key('G', Blocks.GLOWSTONE).patternLine(" R ").patternLine("RGR").patternLine(" R ").addCriterion("has_glowstone", this.hasItem(Blocks.GLOWSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.REDSTONE_TORCH).key('#', Items.STICK).key('X', Items.REDSTONE).patternLine("X").patternLine("#").addCriterion("has_redstone", this.hasItem(Items.REDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.RED_BANNER).key('#', Blocks.RED_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_red_wool", this.hasItem(Blocks.RED_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.RED_BED).key('#', Blocks.RED_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_red_wool", this.hasItem(Blocks.RED_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.RED_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.RED_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "red_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_CARPET, 3).key('#', Blocks.RED_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_red_wool", this.hasItem(Blocks.RED_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.RED_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_red_dye", this.hasItem(Items.RED_DYE)).build(consumer, "red_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.RED_CONCRETE_POWDER, 8).addIngredient(Items.RED_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.RED_DYE).addIngredient(Items.BEETROOT).setGroup("red_dye").addCriterion("has_beetroot", this.hasItem(Items.BEETROOT)).build(consumer, "red_dye_from_beetroot");
      ShapelessRecipeBuilder.shapelessRecipe(Items.RED_DYE).addIngredient(Blocks.POPPY).setGroup("red_dye").addCriterion("has_red_flower", this.hasItem(Blocks.POPPY)).build(consumer, "red_dye_from_poppy");
      ShapelessRecipeBuilder.shapelessRecipe(Items.RED_DYE, 2).addIngredient(Blocks.ROSE_BUSH).setGroup("red_dye").addCriterion("has_double_plant", this.hasItem(Blocks.ROSE_BUSH)).build(consumer, "red_dye_from_rose_bush");
      ShapelessRecipeBuilder.shapelessRecipe(Items.RED_DYE).addIngredient(Blocks.RED_TULIP).setGroup("red_dye").addCriterion("has_red_flower", this.hasItem(Blocks.RED_TULIP)).build(consumer, "red_dye_from_tulip");
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_NETHER_BRICKS).key('W', Items.NETHER_WART).key('N', Items.NETHER_BRICK).patternLine("NW").patternLine("WN").addCriterion("has_nether_wart", this.hasItem(Items.NETHER_WART)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_SANDSTONE).key('#', Blocks.RED_SAND).patternLine("##").patternLine("##").addCriterion("has_sand", this.hasItem(Blocks.RED_SAND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_SANDSTONE_SLAB, 6).key('#', Ingredient.fromItems(Blocks.RED_SANDSTONE, Blocks.CHISELED_RED_SANDSTONE)).patternLine("###").addCriterion("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).addCriterion("has_chiseled_red_sandstone", this.hasItem(Blocks.CHISELED_RED_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CUT_RED_SANDSTONE_SLAB, 6).key('#', Blocks.CUT_RED_SANDSTONE).patternLine("###").addCriterion("has_cut_red_sandstone", this.hasItem(Blocks.CUT_RED_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_SANDSTONE_STAIRS, 4).key('#', Ingredient.fromItems(Blocks.RED_SANDSTONE, Blocks.CHISELED_RED_SANDSTONE, Blocks.CUT_RED_SANDSTONE)).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).addCriterion("has_chiseled_red_sandstone", this.hasItem(Blocks.CHISELED_RED_SANDSTONE)).addCriterion("has_cut_red_sandstone", this.hasItem(Blocks.CUT_RED_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.RED_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_STAINED_GLASS_PANE, 16).key('#', Blocks.RED_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.RED_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_red_dye", this.hasItem(Items.RED_DYE)).build(consumer, "red_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.RED_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.RED_WOOL).addIngredient(Items.RED_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.REPEATER).key('#', Blocks.REDSTONE_TORCH).key('X', Items.REDSTONE).key('I', Blocks.STONE).patternLine("#X#").patternLine("III").addCriterion("has_redstone_torch", this.hasItem(Blocks.REDSTONE_TORCH)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SANDSTONE).key('#', Blocks.SAND).patternLine("##").patternLine("##").addCriterion("has_sand", this.hasItem(Blocks.SAND)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SANDSTONE_SLAB, 6).key('#', Ingredient.fromItems(Blocks.SANDSTONE, Blocks.CHISELED_SANDSTONE)).patternLine("###").addCriterion("has_sandstone", this.hasItem(Blocks.SANDSTONE)).addCriterion("has_chiseled_sandstone", this.hasItem(Blocks.CHISELED_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CUT_SANDSTONE_SLAB, 6).key('#', Blocks.CUT_SANDSTONE).patternLine("###").addCriterion("has_cut_sandstone", this.hasItem(Blocks.CUT_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SANDSTONE_STAIRS, 4).key('#', Ingredient.fromItems(Blocks.SANDSTONE, Blocks.CHISELED_SANDSTONE, Blocks.CUT_SANDSTONE)).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_sandstone", this.hasItem(Blocks.SANDSTONE)).addCriterion("has_chiseled_sandstone", this.hasItem(Blocks.CHISELED_SANDSTONE)).addCriterion("has_cut_sandstone", this.hasItem(Blocks.CUT_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SEA_LANTERN).key('S', Items.PRISMARINE_SHARD).key('C', Items.PRISMARINE_CRYSTALS).patternLine("SCS").patternLine("CCC").patternLine("SCS").addCriterion("has_prismarine_crystals", this.hasItem(Items.PRISMARINE_CRYSTALS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.SHEARS).key('#', Items.IRON_INGOT).patternLine(" #").patternLine("# ").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.SHIELD).key('W', ItemTags.PLANKS).key('o', Items.IRON_INGOT).patternLine("WoW").patternLine("WWW").patternLine(" W ").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.OAK_SIGN, 3).key('#', Items.OAK_PLANKS).key('X', Items.STICK).patternLine("###").patternLine("###").patternLine(" X ").addCriterion("has_oak_planks", this.hasItem(Items.OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.SPRUCE_SIGN, 3).key('#', Items.SPRUCE_PLANKS).key('X', Items.STICK).patternLine("###").patternLine("###").patternLine(" X ").addCriterion("has_spruce_planks", this.hasItem(Items.SPRUCE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.BIRCH_SIGN, 3).key('#', Items.BIRCH_PLANKS).key('X', Items.STICK).patternLine("###").patternLine("###").patternLine(" X ").addCriterion("has_birch_planks", this.hasItem(Items.BIRCH_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.ACACIA_SIGN, 3).key('#', Items.ACACIA_PLANKS).key('X', Items.STICK).patternLine("###").patternLine("###").patternLine(" X ").addCriterion("has_acacia_planks", this.hasItem(Items.ACACIA_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.JUNGLE_SIGN, 3).key('#', Items.JUNGLE_PLANKS).key('X', Items.STICK).patternLine("###").patternLine("###").patternLine(" X ").addCriterion("has_jungle_planks", this.hasItem(Items.JUNGLE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.DARK_OAK_SIGN, 3).key('#', Items.DARK_OAK_PLANKS).key('X', Items.STICK).patternLine("###").patternLine("###").patternLine(" X ").addCriterion("has_dark_oak_planks", this.hasItem(Items.DARK_OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SLIME_BLOCK).key('#', Items.SLIME_BALL).patternLine("###").patternLine("###").patternLine("###").addCriterion("has_at_least_9_slime_ball", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.SLIME_BALL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.SLIME_BALL, 9).addIngredient(Blocks.SLIME_BLOCK).addCriterion("has_at_least_9_slime_ball", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.SLIME_BALL)).addCriterion("has_slime", this.hasItem(Blocks.SLIME_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CUT_RED_SANDSTONE, 4).key('#', Blocks.RED_SANDSTONE).patternLine("##").patternLine("##").addCriterion("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CUT_SANDSTONE, 4).key('#', Blocks.SANDSTONE).patternLine("##").patternLine("##").addCriterion("has_sandstone", this.hasItem(Blocks.SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SNOW_BLOCK).key('#', Items.SNOWBALL).patternLine("##").patternLine("##").addCriterion("has_snowball", this.hasItem(Items.SNOWBALL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SNOW, 6).key('#', Blocks.SNOW_BLOCK).patternLine("###").addCriterion("has_snowball", this.hasItem(Items.SNOWBALL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.GLISTERING_MELON_SLICE).key('#', Items.GOLD_NUGGET).key('X', Items.MELON_SLICE).patternLine("###").patternLine("#X#").patternLine("###").addCriterion("has_melon", this.hasItem(Items.MELON_SLICE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.SPECTRAL_ARROW, 2).key('#', Items.GLOWSTONE_DUST).key('X', Items.ARROW).patternLine(" # ").patternLine("#X#").patternLine(" # ").addCriterion("has_glowstone_dust", this.hasItem(Items.GLOWSTONE_DUST)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SPRUCE_WOOD, 3).key('#', Blocks.SPRUCE_LOG).patternLine("##").patternLine("##").setGroup("bark").addCriterion("has_log", this.hasItem(Blocks.SPRUCE_LOG)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.SPRUCE_BOAT).key('#', Blocks.SPRUCE_PLANKS).patternLine("# #").patternLine("###").setGroup("boat").addCriterion("in_water", this.enteredBlock(Blocks.WATER)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.SPRUCE_BUTTON).addIngredient(Blocks.SPRUCE_PLANKS).setGroup("wooden_button").addCriterion("has_planks", this.hasItem(Blocks.SPRUCE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SPRUCE_DOOR, 3).key('#', Blocks.SPRUCE_PLANKS).patternLine("##").patternLine("##").patternLine("##").setGroup("wooden_door").addCriterion("has_planks", this.hasItem(Blocks.SPRUCE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SPRUCE_FENCE, 3).key('#', Items.STICK).key('W', Blocks.SPRUCE_PLANKS).patternLine("W#W").patternLine("W#W").setGroup("wooden_fence").addCriterion("has_planks", this.hasItem(Blocks.SPRUCE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SPRUCE_FENCE_GATE).key('#', Items.STICK).key('W', Blocks.SPRUCE_PLANKS).patternLine("#W#").patternLine("#W#").setGroup("wooden_fence_gate").addCriterion("has_planks", this.hasItem(Blocks.SPRUCE_PLANKS)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.SPRUCE_PLANKS, 4).addIngredient(ItemTags.SPRUCE_LOGS).setGroup("planks").addCriterion("has_log", this.hasItem(ItemTags.SPRUCE_LOGS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SPRUCE_PRESSURE_PLATE).key('#', Blocks.SPRUCE_PLANKS).patternLine("##").setGroup("wooden_pressure_plate").addCriterion("has_planks", this.hasItem(Blocks.SPRUCE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SPRUCE_SLAB, 6).key('#', Blocks.SPRUCE_PLANKS).patternLine("###").setGroup("wooden_slab").addCriterion("has_planks", this.hasItem(Blocks.SPRUCE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SPRUCE_STAIRS, 4).key('#', Blocks.SPRUCE_PLANKS).patternLine("#  ").patternLine("## ").patternLine("###").setGroup("wooden_stairs").addCriterion("has_planks", this.hasItem(Blocks.SPRUCE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SPRUCE_TRAPDOOR, 2).key('#', Blocks.SPRUCE_PLANKS).patternLine("###").patternLine("###").setGroup("wooden_trapdoor").addCriterion("has_planks", this.hasItem(Blocks.SPRUCE_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.STICK, 4).key('#', ItemTags.PLANKS).patternLine("#").patternLine("#").setGroup("sticks").addCriterion("has_planks", this.hasItem(ItemTags.PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.STICK, 1).key('#', Blocks.BAMBOO).patternLine("#").patternLine("#").setGroup("sticks").addCriterion("has_bamboo", this.hasItem(Blocks.BAMBOO)).build(consumer, "stick_from_bamboo_item");
      ShapedRecipeBuilder.shapedRecipe(Blocks.STICKY_PISTON).key('P', Blocks.PISTON).key('S', Items.SLIME_BALL).patternLine("S").patternLine("P").addCriterion("has_slime_ball", this.hasItem(Items.SLIME_BALL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.STONE_BRICKS, 4).key('#', Blocks.STONE).patternLine("##").patternLine("##").addCriterion("has_stone", this.hasItem(Blocks.STONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.STONE_AXE).key('#', Items.STICK).key('X', Blocks.COBBLESTONE).patternLine("XX").patternLine("X#").patternLine(" #").addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.STONE_BRICK_SLAB, 6).key('#', Blocks.STONE_BRICKS).patternLine("###").addCriterion("has_stone_bricks", this.hasItem(ItemTags.STONE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.STONE_BRICK_STAIRS, 4).key('#', Blocks.STONE_BRICKS).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_stone_bricks", this.hasItem(ItemTags.STONE_BRICKS)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.STONE_BUTTON).addIngredient(Blocks.STONE).addCriterion("has_stone", this.hasItem(Blocks.STONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.STONE_HOE).key('#', Items.STICK).key('X', Blocks.COBBLESTONE).patternLine("XX").patternLine(" #").patternLine(" #").addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.STONE_PICKAXE).key('#', Items.STICK).key('X', Blocks.COBBLESTONE).patternLine("XXX").patternLine(" # ").patternLine(" # ").addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.STONE_PRESSURE_PLATE).key('#', Blocks.STONE).patternLine("##").addCriterion("has_stone", this.hasItem(Blocks.STONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.STONE_SHOVEL).key('#', Items.STICK).key('X', Blocks.COBBLESTONE).patternLine("X").patternLine("#").patternLine("#").addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.STONE_SLAB, 6).key('#', Blocks.STONE).patternLine("###").addCriterion("has_stone", this.hasItem(Blocks.STONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SMOOTH_STONE_SLAB, 6).key('#', Blocks.SMOOTH_STONE).patternLine("###").addCriterion("has_smooth_stone", this.hasItem(Blocks.SMOOTH_STONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.COBBLESTONE_STAIRS, 4).key('#', Blocks.COBBLESTONE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.STONE_SWORD).key('#', Items.STICK).key('X', Blocks.COBBLESTONE).patternLine("X").patternLine("X").patternLine("#").addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.WHITE_WOOL).key('#', Items.STRING).patternLine("##").patternLine("##").addCriterion("has_string", this.hasItem(Items.STRING)).build(consumer, "white_wool_from_string");
      ShapelessRecipeBuilder.shapelessRecipe(Items.SUGAR).addIngredient(Blocks.SUGAR_CANE).addCriterion("has_reeds", this.hasItem(Blocks.SUGAR_CANE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.TNT).key('#', Ingredient.fromItems(Blocks.SAND, Blocks.RED_SAND)).key('X', Items.GUNPOWDER).patternLine("X#X").patternLine("#X#").patternLine("X#X").addCriterion("has_gunpowder", this.hasItem(Items.GUNPOWDER)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.TNT_MINECART).key('A', Blocks.TNT).key('B', Items.MINECART).patternLine("A").patternLine("B").addCriterion("has_minecart", this.hasItem(Items.MINECART)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.TORCH, 4).key('#', Items.STICK).key('X', Ingredient.fromItems(Items.COAL, Items.CHARCOAL)).patternLine("X").patternLine("#").addCriterion("has_stone_pickaxe", this.hasItem(Items.STONE_PICKAXE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.LANTERN).key('#', Items.TORCH).key('X', Items.IRON_NUGGET).patternLine("XXX").patternLine("X#X").patternLine("XXX").addCriterion("has_iron_nugget", this.hasItem(Items.IRON_NUGGET)).addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.TRAPPED_CHEST).addIngredient(Blocks.CHEST).addIngredient(Blocks.TRIPWIRE_HOOK).addCriterion("has_tripwire_hook", this.hasItem(Blocks.TRIPWIRE_HOOK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.TRIPWIRE_HOOK, 2).key('#', ItemTags.PLANKS).key('S', Items.STICK).key('I', Items.IRON_INGOT).patternLine("I").patternLine("S").patternLine("#").addCriterion("has_string", this.hasItem(Items.STRING)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.TURTLE_HELMET).key('X', Items.SCUTE).patternLine("XXX").patternLine("X X").addCriterion("has_scute", this.hasItem(Items.SCUTE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.WHEAT, 9).addIngredient(Blocks.HAY_BLOCK).addCriterion("has_at_least_9_wheat", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.WHEAT)).addCriterion("has_hay_block", this.hasItem(Blocks.HAY_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.WHITE_BANNER).key('#', Blocks.WHITE_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.WHITE_BED).key('#', Blocks.WHITE_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.WHITE_CARPET, 3).key('#', Blocks.WHITE_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.WHITE_CONCRETE_POWDER, 8).addIngredient(Items.WHITE_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.WHITE_DYE).addIngredient(Items.BONE_MEAL).setGroup("white_dye").addCriterion("has_bone_meal", this.hasItem(Items.BONE_MEAL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.WHITE_DYE).addIngredient(Blocks.LILY_OF_THE_VALLEY).setGroup("white_dye").addCriterion("has_white_flower", this.hasItem(Blocks.LILY_OF_THE_VALLEY)).build(consumer, "white_dye_from_lily_of_the_valley");
      ShapedRecipeBuilder.shapedRecipe(Blocks.WHITE_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.WHITE_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.WHITE_STAINED_GLASS_PANE, 16).key('#', Blocks.WHITE_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.WHITE_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.WHITE_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_white_dye", this.hasItem(Items.WHITE_DYE)).build(consumer, "white_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.WHITE_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.WHITE_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.WOODEN_AXE).key('#', Items.STICK).key('X', ItemTags.PLANKS).patternLine("XX").patternLine("X#").patternLine(" #").addCriterion("has_stick", this.hasItem(Items.STICK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.OAK_DOOR, 3).key('#', Blocks.OAK_PLANKS).patternLine("##").patternLine("##").patternLine("##").setGroup("wooden_door").addCriterion("has_planks", this.hasItem(Blocks.OAK_PLANKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.WOODEN_HOE).key('#', Items.STICK).key('X', ItemTags.PLANKS).patternLine("XX").patternLine(" #").patternLine(" #").addCriterion("has_stick", this.hasItem(Items.STICK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.WOODEN_PICKAXE).key('#', Items.STICK).key('X', ItemTags.PLANKS).patternLine("XXX").patternLine(" # ").patternLine(" # ").addCriterion("has_stick", this.hasItem(Items.STICK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.WOODEN_SHOVEL).key('#', Items.STICK).key('X', ItemTags.PLANKS).patternLine("X").patternLine("#").patternLine("#").addCriterion("has_stick", this.hasItem(Items.STICK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.WOODEN_SWORD).key('#', Items.STICK).key('X', ItemTags.PLANKS).patternLine("X").patternLine("X").patternLine("#").addCriterion("has_stick", this.hasItem(Items.STICK)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.WRITABLE_BOOK).addIngredient(Items.BOOK).addIngredient(Items.INK_SAC).addIngredient(Items.FEATHER).addCriterion("has_book", this.hasItem(Items.BOOK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.YELLOW_BANNER).key('#', Blocks.YELLOW_WOOL).key('|', Items.STICK).patternLine("###").patternLine("###").patternLine(" | ").setGroup("banner").addCriterion("has_yellow_wool", this.hasItem(Blocks.YELLOW_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Items.YELLOW_BED).key('#', Blocks.YELLOW_WOOL).key('X', ItemTags.PLANKS).patternLine("###").patternLine("XXX").setGroup("bed").addCriterion("has_yellow_wool", this.hasItem(Blocks.YELLOW_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.YELLOW_BED).addIngredient(Items.WHITE_BED).addIngredient(Items.YELLOW_DYE).setGroup("dyed_bed").addCriterion("has_bed", this.hasItem(Items.WHITE_BED)).build(consumer, "yellow_bed_from_white_bed");
      ShapedRecipeBuilder.shapedRecipe(Blocks.YELLOW_CARPET, 3).key('#', Blocks.YELLOW_WOOL).patternLine("##").setGroup("carpet").addCriterion("has_yellow_wool", this.hasItem(Blocks.YELLOW_WOOL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.YELLOW_CARPET, 8).key('#', Blocks.WHITE_CARPET).key('$', Items.YELLOW_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("carpet").addCriterion("has_white_carpet", this.hasItem(Blocks.WHITE_CARPET)).addCriterion("has_yellow_dye", this.hasItem(Items.YELLOW_DYE)).build(consumer, "yellow_carpet_from_white_carpet");
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.YELLOW_CONCRETE_POWDER, 8).addIngredient(Items.YELLOW_DYE).addIngredient(Blocks.SAND, 4).addIngredient(Blocks.GRAVEL, 4).setGroup("concrete_powder").addCriterion("has_sand", this.hasItem(Blocks.SAND)).addCriterion("has_gravel", this.hasItem(Blocks.GRAVEL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.YELLOW_DYE).addIngredient(Blocks.DANDELION).setGroup("yellow_dye").addCriterion("has_yellow_flower", this.hasItem(Blocks.DANDELION)).build(consumer, "yellow_dye_from_dandelion");
      ShapelessRecipeBuilder.shapelessRecipe(Items.YELLOW_DYE, 2).addIngredient(Blocks.SUNFLOWER).setGroup("yellow_dye").addCriterion("has_double_plant", this.hasItem(Blocks.SUNFLOWER)).build(consumer, "yellow_dye_from_sunflower");
      ShapedRecipeBuilder.shapedRecipe(Blocks.YELLOW_STAINED_GLASS, 8).key('#', Blocks.GLASS).key('X', Items.YELLOW_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_glass").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.YELLOW_STAINED_GLASS_PANE, 16).key('#', Blocks.YELLOW_STAINED_GLASS).patternLine("###").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass", this.hasItem(Blocks.GLASS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.YELLOW_STAINED_GLASS_PANE, 8).key('#', Blocks.GLASS_PANE).key('$', Items.YELLOW_DYE).patternLine("###").patternLine("#$#").patternLine("###").setGroup("stained_glass_pane").addCriterion("has_glass_pane", this.hasItem(Blocks.GLASS_PANE)).addCriterion("has_yellow_dye", this.hasItem(Items.YELLOW_DYE)).build(consumer, "yellow_stained_glass_pane_from_glass_pane");
      ShapedRecipeBuilder.shapedRecipe(Blocks.YELLOW_TERRACOTTA, 8).key('#', Blocks.TERRACOTTA).key('X', Items.YELLOW_DYE).patternLine("###").patternLine("#X#").patternLine("###").setGroup("stained_terracotta").addCriterion("has_terracotta", this.hasItem(Blocks.TERRACOTTA)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.YELLOW_WOOL).addIngredient(Items.YELLOW_DYE).addIngredient(Blocks.WHITE_WOOL).setGroup("wool").addCriterion("has_white_wool", this.hasItem(Blocks.WHITE_WOOL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.DRIED_KELP, 9).addIngredient(Blocks.DRIED_KELP_BLOCK).addCriterion("has_at_least_9_dried_kelp", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.DRIED_KELP)).addCriterion("has_dried_kelp_block", this.hasItem(Blocks.DRIED_KELP_BLOCK)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Blocks.DRIED_KELP_BLOCK).addIngredient(Items.DRIED_KELP, 9).addCriterion("has_at_least_9_dried_kelp", this.hasItem(MinMaxBounds.IntBound.atLeast(9), Items.DRIED_KELP)).addCriterion("has_dried_kelp_block", this.hasItem(Blocks.DRIED_KELP_BLOCK)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CONDUIT).key('#', Items.NAUTILUS_SHELL).key('X', Items.HEART_OF_THE_SEA).patternLine("###").patternLine("#X#").patternLine("###").addCriterion("has_nautilus_core", this.hasItem(Items.HEART_OF_THE_SEA)).addCriterion("has_nautilus_shell", this.hasItem(Items.NAUTILUS_SHELL)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.POLISHED_GRANITE_STAIRS, 4).key('#', Blocks.POLISHED_GRANITE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_polished_granite", this.hasItem(Blocks.POLISHED_GRANITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SMOOTH_RED_SANDSTONE_STAIRS, 4).key('#', Blocks.SMOOTH_RED_SANDSTONE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_smooth_red_sandstone", this.hasItem(Blocks.SMOOTH_RED_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MOSSY_STONE_BRICK_STAIRS, 4).key('#', Blocks.MOSSY_STONE_BRICKS).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_mossy_stone_bricks", this.hasItem(Blocks.MOSSY_STONE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.POLISHED_DIORITE_STAIRS, 4).key('#', Blocks.POLISHED_DIORITE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_polished_diorite", this.hasItem(Blocks.POLISHED_DIORITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MOSSY_COBBLESTONE_STAIRS, 4).key('#', Blocks.MOSSY_COBBLESTONE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_mossy_cobblestone", this.hasItem(Blocks.MOSSY_COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.END_STONE_BRICK_STAIRS, 4).key('#', Blocks.END_STONE_BRICKS).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_end_stone_bricks", this.hasItem(Blocks.END_STONE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.STONE_STAIRS, 4).key('#', Blocks.STONE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_stone", this.hasItem(Blocks.STONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SMOOTH_SANDSTONE_STAIRS, 4).key('#', Blocks.SMOOTH_SANDSTONE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_smooth_sandstone", this.hasItem(Blocks.SMOOTH_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SMOOTH_QUARTZ_STAIRS, 4).key('#', Blocks.SMOOTH_QUARTZ).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_smooth_quartz", this.hasItem(Blocks.SMOOTH_QUARTZ)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GRANITE_STAIRS, 4).key('#', Blocks.GRANITE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_granite", this.hasItem(Blocks.GRANITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ANDESITE_STAIRS, 4).key('#', Blocks.ANDESITE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_andesite", this.hasItem(Blocks.ANDESITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_NETHER_BRICK_STAIRS, 4).key('#', Blocks.RED_NETHER_BRICKS).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_red_nether_bricks", this.hasItem(Blocks.RED_NETHER_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.POLISHED_ANDESITE_STAIRS, 4).key('#', Blocks.POLISHED_ANDESITE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_polished_andesite", this.hasItem(Blocks.POLISHED_ANDESITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DIORITE_STAIRS, 4).key('#', Blocks.DIORITE).patternLine("#  ").patternLine("## ").patternLine("###").addCriterion("has_diorite", this.hasItem(Blocks.DIORITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.POLISHED_GRANITE_SLAB, 6).key('#', Blocks.POLISHED_GRANITE).patternLine("###").addCriterion("has_polished_granite", this.hasItem(Blocks.POLISHED_GRANITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SMOOTH_RED_SANDSTONE_SLAB, 6).key('#', Blocks.SMOOTH_RED_SANDSTONE).patternLine("###").addCriterion("has_smooth_red_sandstone", this.hasItem(Blocks.SMOOTH_RED_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MOSSY_STONE_BRICK_SLAB, 6).key('#', Blocks.MOSSY_STONE_BRICKS).patternLine("###").addCriterion("has_mossy_stone_bricks", this.hasItem(Blocks.MOSSY_STONE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.POLISHED_DIORITE_SLAB, 6).key('#', Blocks.POLISHED_DIORITE).patternLine("###").addCriterion("has_polished_diorite", this.hasItem(Blocks.POLISHED_DIORITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MOSSY_COBBLESTONE_SLAB, 6).key('#', Blocks.MOSSY_COBBLESTONE).patternLine("###").addCriterion("has_mossy_cobblestone", this.hasItem(Blocks.MOSSY_COBBLESTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.END_STONE_BRICK_SLAB, 6).key('#', Blocks.END_STONE_BRICKS).patternLine("###").addCriterion("has_end_stone_bricks", this.hasItem(Blocks.END_STONE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SMOOTH_SANDSTONE_SLAB, 6).key('#', Blocks.SMOOTH_SANDSTONE).patternLine("###").addCriterion("has_smooth_sandstone", this.hasItem(Blocks.SMOOTH_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SMOOTH_QUARTZ_SLAB, 6).key('#', Blocks.SMOOTH_QUARTZ).patternLine("###").addCriterion("has_smooth_quartz", this.hasItem(Blocks.SMOOTH_QUARTZ)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GRANITE_SLAB, 6).key('#', Blocks.GRANITE).patternLine("###").addCriterion("has_granite", this.hasItem(Blocks.GRANITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ANDESITE_SLAB, 6).key('#', Blocks.ANDESITE).patternLine("###").addCriterion("has_andesite", this.hasItem(Blocks.ANDESITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_NETHER_BRICK_SLAB, 6).key('#', Blocks.RED_NETHER_BRICKS).patternLine("###").addCriterion("has_red_nether_bricks", this.hasItem(Blocks.RED_NETHER_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.POLISHED_ANDESITE_SLAB, 6).key('#', Blocks.POLISHED_ANDESITE).patternLine("###").addCriterion("has_polished_andesite", this.hasItem(Blocks.POLISHED_ANDESITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DIORITE_SLAB, 6).key('#', Blocks.DIORITE).patternLine("###").addCriterion("has_diorite", this.hasItem(Blocks.DIORITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BRICK_WALL, 6).key('#', Blocks.BRICKS).patternLine("###").patternLine("###").addCriterion("has_bricks", this.hasItem(Blocks.BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.PRISMARINE_WALL, 6).key('#', Blocks.PRISMARINE).patternLine("###").patternLine("###").addCriterion("has_prismarine", this.hasItem(Blocks.PRISMARINE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_SANDSTONE_WALL, 6).key('#', Blocks.RED_SANDSTONE).patternLine("###").patternLine("###").addCriterion("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.MOSSY_STONE_BRICK_WALL, 6).key('#', Blocks.MOSSY_STONE_BRICKS).patternLine("###").patternLine("###").addCriterion("has_mossy_stone_bricks", this.hasItem(Blocks.MOSSY_STONE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GRANITE_WALL, 6).key('#', Blocks.GRANITE).patternLine("###").patternLine("###").addCriterion("has_granite", this.hasItem(Blocks.GRANITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.STONE_BRICK_WALL, 6).key('#', Blocks.STONE_BRICKS).patternLine("###").patternLine("###").addCriterion("has_stone_bricks", this.hasItem(Blocks.STONE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.NETHER_BRICK_WALL, 6).key('#', Blocks.NETHER_BRICKS).patternLine("###").patternLine("###").addCriterion("has_nether_bricks", this.hasItem(Blocks.NETHER_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.ANDESITE_WALL, 6).key('#', Blocks.ANDESITE).patternLine("###").patternLine("###").addCriterion("has_andesite", this.hasItem(Blocks.ANDESITE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.RED_NETHER_BRICK_WALL, 6).key('#', Blocks.RED_NETHER_BRICKS).patternLine("###").patternLine("###").addCriterion("has_red_nether_bricks", this.hasItem(Blocks.RED_NETHER_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SANDSTONE_WALL, 6).key('#', Blocks.SANDSTONE).patternLine("###").patternLine("###").addCriterion("has_sandstone", this.hasItem(Blocks.SANDSTONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.END_STONE_BRICK_WALL, 6).key('#', Blocks.END_STONE_BRICKS).patternLine("###").patternLine("###").addCriterion("has_end_stone_bricks", this.hasItem(Blocks.END_STONE_BRICKS)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.DIORITE_WALL, 6).key('#', Blocks.DIORITE).patternLine("###").patternLine("###").addCriterion("has_diorite", this.hasItem(Blocks.DIORITE)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.CREEPER_BANNER_PATTERN).addIngredient(Items.PAPER).addIngredient(Items.CREEPER_HEAD).addCriterion("has_creeper_head", this.hasItem(Items.CREEPER_HEAD)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.SKULL_BANNER_PATTERN).addIngredient(Items.PAPER).addIngredient(Items.WITHER_SKELETON_SKULL).addCriterion("has_wither_skeleton_skull", this.hasItem(Items.WITHER_SKELETON_SKULL)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.FLOWER_BANNER_PATTERN).addIngredient(Items.PAPER).addIngredient(Blocks.OXEYE_DAISY).addCriterion("has_oxeye_daisy", this.hasItem(Blocks.OXEYE_DAISY)).build(consumer);
      ShapelessRecipeBuilder.shapelessRecipe(Items.MOJANG_BANNER_PATTERN).addIngredient(Items.PAPER).addIngredient(Items.ENCHANTED_GOLDEN_APPLE).addCriterion("has_enchanted_golden_apple", this.hasItem(Items.ENCHANTED_GOLDEN_APPLE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SCAFFOLDING, 6).key('~', Items.STRING).key('I', Blocks.BAMBOO).patternLine("I~I").patternLine("I I").patternLine("I I").addCriterion("has_bamboo", this.hasItem(Blocks.BAMBOO)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.GRINDSTONE).key('I', Items.STICK).key('-', Blocks.STONE_SLAB).key('#', ItemTags.PLANKS).patternLine("I-I").patternLine("# #").addCriterion("has_stone_slab", this.hasItem(Blocks.STONE_SLAB)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.BLAST_FURNACE).key('#', Blocks.SMOOTH_STONE).key('X', Blocks.FURNACE).key('I', Items.IRON_INGOT).patternLine("III").patternLine("IXI").patternLine("###").addCriterion("has_smooth_stone", this.hasItem(Blocks.SMOOTH_STONE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SMOKER).key('#', ItemTags.LOGS).key('X', Blocks.FURNACE).patternLine(" # ").patternLine("#X#").patternLine(" # ").addCriterion("has_furnace", this.hasItem(Blocks.FURNACE)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.CARTOGRAPHY_TABLE).key('#', ItemTags.PLANKS).key('@', Items.PAPER).patternLine("@@").patternLine("##").patternLine("##").addCriterion("has_string", this.hasItem(Items.STRING)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.SMITHING_TABLE).key('#', ItemTags.PLANKS).key('@', Items.IRON_INGOT).patternLine("@@").patternLine("##").patternLine("##").addCriterion("has_iron_ingot", this.hasItem(Items.IRON_INGOT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.FLETCHING_TABLE).key('#', ItemTags.PLANKS).key('@', Items.FLINT).patternLine("@@").patternLine("##").patternLine("##").addCriterion("has_flint", this.hasItem(Items.FLINT)).build(consumer);
      ShapedRecipeBuilder.shapedRecipe(Blocks.STONECUTTER).key('I', Items.IRON_INGOT).key('#', Blocks.STONE).patternLine(" I ").patternLine("###").addCriterion("has_stone", this.hasItem(Blocks.STONE)).build(consumer);
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_ARMORDYE).build(consumer, "armor_dye");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_BANNERDUPLICATE).build(consumer, "banner_duplicate");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_BOOKCLONING).build(consumer, "book_cloning");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_FIREWORK_ROCKET).build(consumer, "firework_rocket");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_FIREWORK_STAR).build(consumer, "firework_star");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_FIREWORK_STAR_FADE).build(consumer, "firework_star_fade");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_MAPCLONING).build(consumer, "map_cloning");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_MAPEXTENDING).build(consumer, "map_extending");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.field_223550_o).build(consumer, "repair_item");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_SHIELD).build(consumer, "shield_decoration");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_SHULKERBOXCOLORING).build(consumer, "shulker_box_coloring");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_TIPPEDARROW).build(consumer, "tipped_arrow");
      CustomRecipeBuilder.func_218656_a(IRecipeSerializer.CRAFTING_SPECIAL_SUSPICIOUSSTEW).build(consumer, "suspicious_stew");
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.POTATO), Items.BAKED_POTATO, 0.35F, 200).addCriterion("has_potato", this.hasItem(Items.POTATO)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.CLAY_BALL), Items.BRICK, 0.3F, 200).addCriterion("has_clay_ball", this.hasItem(Items.CLAY_BALL)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromTag(ItemTags.LOGS), Items.CHARCOAL, 0.15F, 200).addCriterion("has_log", this.hasItem(ItemTags.LOGS)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.CHORUS_FRUIT), Items.POPPED_CHORUS_FRUIT, 0.1F, 200).addCriterion("has_chorus_fruit", this.hasItem(Items.CHORUS_FRUIT)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.COAL_ORE.asItem()), Items.COAL, 0.1F, 200).addCriterion("has_coal_ore", this.hasItem(Blocks.COAL_ORE)).build(consumer, "coal_from_smelting");
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.BEEF), Items.COOKED_BEEF, 0.35F, 200).addCriterion("has_beef", this.hasItem(Items.BEEF)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.CHICKEN), Items.COOKED_CHICKEN, 0.35F, 200).addCriterion("has_chicken", this.hasItem(Items.CHICKEN)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.COD), Items.COOKED_COD, 0.35F, 200).addCriterion("has_cod", this.hasItem(Items.COD)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.KELP), Items.DRIED_KELP, 0.1F, 200).addCriterion("has_kelp", this.hasItem(Blocks.KELP)).build(consumer, "dried_kelp_from_smelting");
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.SALMON), Items.COOKED_SALMON, 0.35F, 200).addCriterion("has_salmon", this.hasItem(Items.SALMON)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.MUTTON), Items.COOKED_MUTTON, 0.35F, 200).addCriterion("has_mutton", this.hasItem(Items.MUTTON)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.PORKCHOP), Items.COOKED_PORKCHOP, 0.35F, 200).addCriterion("has_porkchop", this.hasItem(Items.PORKCHOP)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.RABBIT), Items.COOKED_RABBIT, 0.35F, 200).addCriterion("has_rabbit", this.hasItem(Items.RABBIT)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.DIAMOND_ORE.asItem()), Items.DIAMOND, 1.0F, 200).addCriterion("has_diamond_ore", this.hasItem(Blocks.DIAMOND_ORE)).build(consumer, "diamond_from_smelting");
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.LAPIS_ORE.asItem()), Items.LAPIS_LAZULI, 0.2F, 200).addCriterion("has_lapis_ore", this.hasItem(Blocks.LAPIS_ORE)).build(consumer, "lapis_from_smelting");
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.EMERALD_ORE.asItem()), Items.EMERALD, 1.0F, 200).addCriterion("has_emerald_ore", this.hasItem(Blocks.EMERALD_ORE)).build(consumer, "emerald_from_smelting");
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromTag(ItemTags.SAND), Blocks.GLASS.asItem(), 0.1F, 200).addCriterion("has_sand", this.hasItem(ItemTags.SAND)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.GOLD_ORE.asItem()), Items.GOLD_INGOT, 1.0F, 200).addCriterion("has_gold_ore", this.hasItem(Blocks.GOLD_ORE)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.SEA_PICKLE.asItem()), Items.LIME_DYE, 0.1F, 200).addCriterion("has_sea_pickle", this.hasItem(Blocks.SEA_PICKLE)).build(consumer, "lime_dye_from_smelting");
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.CACTUS.asItem()), Items.GREEN_DYE, 1.0F, 200).addCriterion("has_cactus", this.hasItem(Blocks.CACTUS)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.GOLDEN_PICKAXE, Items.GOLDEN_SHOVEL, Items.GOLDEN_AXE, Items.GOLDEN_HOE, Items.GOLDEN_SWORD, Items.GOLDEN_HELMET, Items.GOLDEN_CHESTPLATE, Items.GOLDEN_LEGGINGS, Items.GOLDEN_BOOTS, Items.GOLDEN_HORSE_ARMOR), Items.GOLD_NUGGET, 0.1F, 200).addCriterion("has_golden_pickaxe", this.hasItem(Items.GOLDEN_PICKAXE)).addCriterion("has_golden_shovel", this.hasItem(Items.GOLDEN_SHOVEL)).addCriterion("has_golden_axe", this.hasItem(Items.GOLDEN_AXE)).addCriterion("has_golden_hoe", this.hasItem(Items.GOLDEN_HOE)).addCriterion("has_golden_sword", this.hasItem(Items.GOLDEN_SWORD)).addCriterion("has_golden_helmet", this.hasItem(Items.GOLDEN_HELMET)).addCriterion("has_golden_chestplate", this.hasItem(Items.GOLDEN_CHESTPLATE)).addCriterion("has_golden_leggings", this.hasItem(Items.GOLDEN_LEGGINGS)).addCriterion("has_golden_boots", this.hasItem(Items.GOLDEN_BOOTS)).addCriterion("has_golden_horse_armor", this.hasItem(Items.GOLDEN_HORSE_ARMOR)).build(consumer, "gold_nugget_from_smelting");
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Items.IRON_PICKAXE, Items.IRON_SHOVEL, Items.IRON_AXE, Items.IRON_HOE, Items.IRON_SWORD, Items.IRON_HELMET, Items.IRON_CHESTPLATE, Items.IRON_LEGGINGS, Items.IRON_BOOTS, Items.IRON_HORSE_ARMOR, Items.CHAINMAIL_HELMET, Items.CHAINMAIL_CHESTPLATE, Items.CHAINMAIL_LEGGINGS, Items.CHAINMAIL_BOOTS), Items.IRON_NUGGET, 0.1F, 200).addCriterion("has_iron_pickaxe", this.hasItem(Items.IRON_PICKAXE)).addCriterion("has_iron_shovel", this.hasItem(Items.IRON_SHOVEL)).addCriterion("has_iron_axe", this.hasItem(Items.IRON_AXE)).addCriterion("has_iron_hoe", this.hasItem(Items.IRON_HOE)).addCriterion("has_iron_sword", this.hasItem(Items.IRON_SWORD)).addCriterion("has_iron_helmet", this.hasItem(Items.IRON_HELMET)).addCriterion("has_iron_chestplate", this.hasItem(Items.IRON_CHESTPLATE)).addCriterion("has_iron_leggings", this.hasItem(Items.IRON_LEGGINGS)).addCriterion("has_iron_boots", this.hasItem(Items.IRON_BOOTS)).addCriterion("has_iron_horse_armor", this.hasItem(Items.IRON_HORSE_ARMOR)).addCriterion("has_chainmail_helmet", this.hasItem(Items.CHAINMAIL_HELMET)).addCriterion("has_chainmail_chestplate", this.hasItem(Items.CHAINMAIL_CHESTPLATE)).addCriterion("has_chainmail_leggings", this.hasItem(Items.CHAINMAIL_LEGGINGS)).addCriterion("has_chainmail_boots", this.hasItem(Items.CHAINMAIL_BOOTS)).build(consumer, "iron_nugget_from_smelting");
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.IRON_ORE.asItem()), Items.IRON_INGOT, 0.7F, 200).addCriterion("has_iron_ore", this.hasItem(Blocks.IRON_ORE.asItem())).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.CLAY), Blocks.TERRACOTTA.asItem(), 0.35F, 200).addCriterion("has_clay_block", this.hasItem(Blocks.CLAY)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.NETHERRACK), Items.NETHER_BRICK, 0.1F, 200).addCriterion("has_netherrack", this.hasItem(Blocks.NETHERRACK)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.NETHER_QUARTZ_ORE), Items.QUARTZ, 0.2F, 200).addCriterion("has_nether_quartz_ore", this.hasItem(Blocks.NETHER_QUARTZ_ORE)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.REDSTONE_ORE), Items.REDSTONE, 0.7F, 200).addCriterion("has_redstone_ore", this.hasItem(Blocks.REDSTONE_ORE)).build(consumer, "redstone_from_smelting");
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.WET_SPONGE), Blocks.SPONGE.asItem(), 0.15F, 200).addCriterion("has_wet_sponge", this.hasItem(Blocks.WET_SPONGE)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.COBBLESTONE), Blocks.STONE.asItem(), 0.1F, 200).addCriterion("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.STONE), Blocks.SMOOTH_STONE.asItem(), 0.1F, 200).addCriterion("has_stone", this.hasItem(Blocks.STONE)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.SANDSTONE), Blocks.SMOOTH_SANDSTONE.asItem(), 0.1F, 200).addCriterion("has_sandstone", this.hasItem(Blocks.SANDSTONE)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.RED_SANDSTONE), Blocks.SMOOTH_RED_SANDSTONE.asItem(), 0.1F, 200).addCriterion("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.QUARTZ_BLOCK), Blocks.SMOOTH_QUARTZ.asItem(), 0.1F, 200).addCriterion("has_quartz_block", this.hasItem(Blocks.QUARTZ_BLOCK)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.STONE_BRICKS), Blocks.CRACKED_STONE_BRICKS.asItem(), 0.1F, 200).addCriterion("has_stone_bricks", this.hasItem(Blocks.STONE_BRICKS)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.BLACK_TERRACOTTA), Blocks.BLACK_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_black_terracotta", this.hasItem(Blocks.BLACK_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.BLUE_TERRACOTTA), Blocks.BLUE_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_blue_terracotta", this.hasItem(Blocks.BLUE_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.BROWN_TERRACOTTA), Blocks.BROWN_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_brown_terracotta", this.hasItem(Blocks.BROWN_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.CYAN_TERRACOTTA), Blocks.CYAN_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_cyan_terracotta", this.hasItem(Blocks.CYAN_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.GRAY_TERRACOTTA), Blocks.GRAY_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_gray_terracotta", this.hasItem(Blocks.GRAY_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.GREEN_TERRACOTTA), Blocks.GREEN_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_green_terracotta", this.hasItem(Blocks.GREEN_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.LIGHT_BLUE_TERRACOTTA), Blocks.LIGHT_BLUE_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_light_blue_terracotta", this.hasItem(Blocks.LIGHT_BLUE_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.LIGHT_GRAY_TERRACOTTA), Blocks.LIGHT_GRAY_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_light_gray_terracotta", this.hasItem(Blocks.LIGHT_GRAY_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.LIME_TERRACOTTA), Blocks.LIME_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_lime_terracotta", this.hasItem(Blocks.LIME_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.MAGENTA_TERRACOTTA), Blocks.MAGENTA_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_magenta_terracotta", this.hasItem(Blocks.MAGENTA_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.ORANGE_TERRACOTTA), Blocks.ORANGE_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_orange_terracotta", this.hasItem(Blocks.ORANGE_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.PINK_TERRACOTTA), Blocks.PINK_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_pink_terracotta", this.hasItem(Blocks.PINK_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.PURPLE_TERRACOTTA), Blocks.PURPLE_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_purple_terracotta", this.hasItem(Blocks.PURPLE_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.RED_TERRACOTTA), Blocks.RED_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_red_terracotta", this.hasItem(Blocks.RED_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.WHITE_TERRACOTTA), Blocks.WHITE_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_white_terracotta", this.hasItem(Blocks.WHITE_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.smeltingRecipe(Ingredient.fromItems(Blocks.YELLOW_TERRACOTTA), Blocks.YELLOW_GLAZED_TERRACOTTA.asItem(), 0.1F, 200).addCriterion("has_yellow_terracotta", this.hasItem(Blocks.YELLOW_TERRACOTTA)).build(consumer);
      CookingRecipeBuilder.blastingRecipe(Ingredient.fromItems(Blocks.IRON_ORE.asItem()), Items.IRON_INGOT, 0.7F, 100).addCriterion("has_iron_ore", this.hasItem(Blocks.IRON_ORE.asItem())).build(consumer, "iron_ingot_from_blasting");
      CookingRecipeBuilder.blastingRecipe(Ingredient.fromItems(Blocks.GOLD_ORE.asItem()), Items.GOLD_INGOT, 1.0F, 100).addCriterion("has_gold_ore", this.hasItem(Blocks.GOLD_ORE)).build(consumer, "gold_ingot_from_blasting");
      CookingRecipeBuilder.blastingRecipe(Ingredient.fromItems(Blocks.DIAMOND_ORE.asItem()), Items.DIAMOND, 1.0F, 100).addCriterion("has_diamond_ore", this.hasItem(Blocks.DIAMOND_ORE)).build(consumer, "diamond_from_blasting");
      CookingRecipeBuilder.blastingRecipe(Ingredient.fromItems(Blocks.LAPIS_ORE.asItem()), Items.LAPIS_LAZULI, 0.2F, 100).addCriterion("has_lapis_ore", this.hasItem(Blocks.LAPIS_ORE)).build(consumer, "lapis_from_blasting");
      CookingRecipeBuilder.blastingRecipe(Ingredient.fromItems(Blocks.REDSTONE_ORE), Items.REDSTONE, 0.7F, 100).addCriterion("has_redstone_ore", this.hasItem(Blocks.REDSTONE_ORE)).build(consumer, "redstone_from_blasting");
      CookingRecipeBuilder.blastingRecipe(Ingredient.fromItems(Blocks.COAL_ORE.asItem()), Items.COAL, 0.1F, 100).addCriterion("has_coal_ore", this.hasItem(Blocks.COAL_ORE)).build(consumer, "coal_from_blasting");
      CookingRecipeBuilder.blastingRecipe(Ingredient.fromItems(Blocks.EMERALD_ORE.asItem()), Items.EMERALD, 1.0F, 100).addCriterion("has_emerald_ore", this.hasItem(Blocks.EMERALD_ORE)).build(consumer, "emerald_from_blasting");
      CookingRecipeBuilder.blastingRecipe(Ingredient.fromItems(Blocks.NETHER_QUARTZ_ORE), Items.QUARTZ, 0.2F, 100).addCriterion("has_nether_quartz_ore", this.hasItem(Blocks.NETHER_QUARTZ_ORE)).build(consumer, "quartz_from_blasting");
      CookingRecipeBuilder.blastingRecipe(Ingredient.fromItems(Items.GOLDEN_PICKAXE, Items.GOLDEN_SHOVEL, Items.GOLDEN_AXE, Items.GOLDEN_HOE, Items.GOLDEN_SWORD, Items.GOLDEN_HELMET, Items.GOLDEN_CHESTPLATE, Items.GOLDEN_LEGGINGS, Items.GOLDEN_BOOTS, Items.GOLDEN_HORSE_ARMOR), Items.GOLD_NUGGET, 0.1F, 100).addCriterion("has_golden_pickaxe", this.hasItem(Items.GOLDEN_PICKAXE)).addCriterion("has_golden_shovel", this.hasItem(Items.GOLDEN_SHOVEL)).addCriterion("has_golden_axe", this.hasItem(Items.GOLDEN_AXE)).addCriterion("has_golden_hoe", this.hasItem(Items.GOLDEN_HOE)).addCriterion("has_golden_sword", this.hasItem(Items.GOLDEN_SWORD)).addCriterion("has_golden_helmet", this.hasItem(Items.GOLDEN_HELMET)).addCriterion("has_golden_chestplate", this.hasItem(Items.GOLDEN_CHESTPLATE)).addCriterion("has_golden_leggings", this.hasItem(Items.GOLDEN_LEGGINGS)).addCriterion("has_golden_boots", this.hasItem(Items.GOLDEN_BOOTS)).addCriterion("has_golden_horse_armor", this.hasItem(Items.GOLDEN_HORSE_ARMOR)).build(consumer, "gold_nugget_from_blasting");
      CookingRecipeBuilder.blastingRecipe(Ingredient.fromItems(Items.IRON_PICKAXE, Items.IRON_SHOVEL, Items.IRON_AXE, Items.IRON_HOE, Items.IRON_SWORD, Items.IRON_HELMET, Items.IRON_CHESTPLATE, Items.IRON_LEGGINGS, Items.IRON_BOOTS, Items.IRON_HORSE_ARMOR, Items.CHAINMAIL_HELMET, Items.CHAINMAIL_CHESTPLATE, Items.CHAINMAIL_LEGGINGS, Items.CHAINMAIL_BOOTS), Items.IRON_NUGGET, 0.1F, 100).addCriterion("has_iron_pickaxe", this.hasItem(Items.IRON_PICKAXE)).addCriterion("has_iron_shovel", this.hasItem(Items.IRON_SHOVEL)).addCriterion("has_iron_axe", this.hasItem(Items.IRON_AXE)).addCriterion("has_iron_hoe", this.hasItem(Items.IRON_HOE)).addCriterion("has_iron_sword", this.hasItem(Items.IRON_SWORD)).addCriterion("has_iron_helmet", this.hasItem(Items.IRON_HELMET)).addCriterion("has_iron_chestplate", this.hasItem(Items.IRON_CHESTPLATE)).addCriterion("has_iron_leggings", this.hasItem(Items.IRON_LEGGINGS)).addCriterion("has_iron_boots", this.hasItem(Items.IRON_BOOTS)).addCriterion("has_iron_horse_armor", this.hasItem(Items.IRON_HORSE_ARMOR)).addCriterion("has_chainmail_helmet", this.hasItem(Items.CHAINMAIL_HELMET)).addCriterion("has_chainmail_chestplate", this.hasItem(Items.CHAINMAIL_CHESTPLATE)).addCriterion("has_chainmail_leggings", this.hasItem(Items.CHAINMAIL_LEGGINGS)).addCriterion("has_chainmail_boots", this.hasItem(Items.CHAINMAIL_BOOTS)).build(consumer, "iron_nugget_from_blasting");
      this.cookingRecipesForMethod(consumer, "smoking", IRecipeSerializer.SMOKING, 100);
      this.cookingRecipesForMethod(consumer, "campfire_cooking", IRecipeSerializer.CAMPFIRE_COOKING, 600);
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.STONE), Blocks.STONE_SLAB, 2).func_218643_a("has_stone", this.hasItem(Blocks.STONE)).func_218645_a(consumer, "stone_slab_from_stone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.STONE), Blocks.STONE_STAIRS).func_218643_a("has_stone", this.hasItem(Blocks.STONE)).func_218645_a(consumer, "stone_stairs_from_stone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.STONE), Blocks.STONE_BRICKS).func_218643_a("has_stone", this.hasItem(Blocks.STONE)).func_218645_a(consumer, "stone_bricks_from_stone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.STONE), Blocks.STONE_BRICK_SLAB, 2).func_218643_a("has_stone", this.hasItem(Blocks.STONE)).func_218645_a(consumer, "stone_brick_slab_from_stone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.STONE), Blocks.STONE_BRICK_STAIRS).func_218643_a("has_stone", this.hasItem(Blocks.STONE)).func_218645_a(consumer, "stone_brick_stairs_from_stone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.STONE), Blocks.CHISELED_STONE_BRICKS).func_218643_a("has_stone", this.hasItem(Blocks.STONE)).func_218645_a(consumer, "chiseled_stone_bricks_stone_from_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.STONE), Blocks.STONE_BRICK_WALL).func_218643_a("has_stone", this.hasItem(Blocks.STONE)).func_218645_a(consumer, "stone_brick_walls_from_stone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.SANDSTONE), Blocks.CUT_SANDSTONE).func_218643_a("has_sandstone", this.hasItem(Blocks.SANDSTONE)).func_218645_a(consumer, "cut_sandstone_from_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.SANDSTONE), Blocks.SANDSTONE_SLAB, 2).func_218643_a("has_sandstone", this.hasItem(Blocks.SANDSTONE)).func_218645_a(consumer, "sandstone_slab_from_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.SANDSTONE), Blocks.CUT_SANDSTONE_SLAB, 2).func_218643_a("has_sandstone", this.hasItem(Blocks.SANDSTONE)).func_218645_a(consumer, "cut_sandstone_slab_from_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.CUT_SANDSTONE), Blocks.CUT_SANDSTONE_SLAB, 2).func_218643_a("has_cut_sandstone", this.hasItem(Blocks.SANDSTONE)).func_218645_a(consumer, "cut_sandstone_slab_from_cut_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.SANDSTONE), Blocks.SANDSTONE_STAIRS).func_218643_a("has_sandstone", this.hasItem(Blocks.SANDSTONE)).func_218645_a(consumer, "sandstone_stairs_from_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.SANDSTONE), Blocks.SANDSTONE_WALL).func_218643_a("has_sandstone", this.hasItem(Blocks.SANDSTONE)).func_218645_a(consumer, "sandstone_wall_from_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.SANDSTONE), Blocks.CHISELED_SANDSTONE).func_218643_a("has_sandstone", this.hasItem(Blocks.SANDSTONE)).func_218645_a(consumer, "chiseled_sandstone_from_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.RED_SANDSTONE), Blocks.CUT_RED_SANDSTONE).func_218643_a("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).func_218645_a(consumer, "cut_red_sandstone_from_red_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.RED_SANDSTONE), Blocks.RED_SANDSTONE_SLAB, 2).func_218643_a("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).func_218645_a(consumer, "red_sandstone_slab_from_red_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.RED_SANDSTONE), Blocks.CUT_RED_SANDSTONE_SLAB, 2).func_218643_a("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).func_218645_a(consumer, "cut_red_sandstone_slab_from_red_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.CUT_RED_SANDSTONE), Blocks.CUT_RED_SANDSTONE_SLAB, 2).func_218643_a("has_cut_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).func_218645_a(consumer, "cut_red_sandstone_slab_from_cut_red_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.RED_SANDSTONE), Blocks.RED_SANDSTONE_STAIRS).func_218643_a("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).func_218645_a(consumer, "red_sandstone_stairs_from_red_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.RED_SANDSTONE), Blocks.RED_SANDSTONE_WALL).func_218643_a("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).func_218645_a(consumer, "red_sandstone_wall_from_red_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.RED_SANDSTONE), Blocks.CHISELED_RED_SANDSTONE).func_218643_a("has_red_sandstone", this.hasItem(Blocks.RED_SANDSTONE)).func_218645_a(consumer, "chiseled_red_sandstone_from_red_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.QUARTZ_BLOCK), Blocks.QUARTZ_SLAB, 2).func_218643_a("has_quartz_block", this.hasItem(Blocks.QUARTZ_BLOCK)).func_218645_a(consumer, "quartz_slab_from_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.QUARTZ_BLOCK), Blocks.QUARTZ_STAIRS).func_218643_a("has_quartz_block", this.hasItem(Blocks.QUARTZ_BLOCK)).func_218645_a(consumer, "quartz_stairs_from_quartz_block_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.QUARTZ_BLOCK), Blocks.QUARTZ_PILLAR).func_218643_a("has_quartz_block", this.hasItem(Blocks.QUARTZ_BLOCK)).func_218645_a(consumer, "quartz_pillar_from_quartz_block_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.QUARTZ_BLOCK), Blocks.CHISELED_QUARTZ_BLOCK).func_218643_a("has_quartz_block", this.hasItem(Blocks.QUARTZ_BLOCK)).func_218645_a(consumer, "chiseled_quartz_block_from_quartz_block_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.COBBLESTONE), Blocks.COBBLESTONE_STAIRS).func_218643_a("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).func_218645_a(consumer, "cobblestone_stairs_from_cobblestone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.COBBLESTONE), Blocks.COBBLESTONE_SLAB, 2).func_218643_a("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).func_218645_a(consumer, "cobblestone_slab_from_cobblestone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.COBBLESTONE), Blocks.COBBLESTONE_WALL).func_218643_a("has_cobblestone", this.hasItem(Blocks.COBBLESTONE)).func_218645_a(consumer, "cobblestone_wall_from_cobblestone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.STONE_BRICKS), Blocks.STONE_BRICK_SLAB, 2).func_218643_a("has_stone_bricks", this.hasItem(Blocks.STONE_BRICKS)).func_218645_a(consumer, "stone_brick_slab_from_stone_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.STONE_BRICKS), Blocks.STONE_BRICK_STAIRS).func_218643_a("has_stone_bricks", this.hasItem(Blocks.STONE_BRICKS)).func_218645_a(consumer, "stone_brick_stairs_from_stone_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.STONE_BRICKS), Blocks.STONE_BRICK_WALL).func_218643_a("has_stone_bricks", this.hasItem(Blocks.STONE_BRICKS)).func_218645_a(consumer, "stone_brick_wall_from_stone_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.STONE_BRICKS), Blocks.CHISELED_STONE_BRICKS).func_218643_a("has_stone_bricks", this.hasItem(Blocks.STONE_BRICKS)).func_218645_a(consumer, "chiseled_stone_bricks_from_stone_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.BRICKS), Blocks.BRICK_SLAB, 2).func_218643_a("has_bricks", this.hasItem(Blocks.BRICKS)).func_218645_a(consumer, "brick_slab_from_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.BRICKS), Blocks.BRICK_STAIRS).func_218643_a("has_bricks", this.hasItem(Blocks.BRICKS)).func_218645_a(consumer, "brick_stairs_from_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.BRICKS), Blocks.BRICK_WALL).func_218643_a("has_bricks", this.hasItem(Blocks.BRICKS)).func_218645_a(consumer, "brick_wall_from_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.NETHER_BRICKS), Blocks.NETHER_BRICK_SLAB, 2).func_218643_a("has_nether_bricks", this.hasItem(Blocks.NETHER_BRICKS)).func_218645_a(consumer, "nether_brick_slab_from_nether_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.NETHER_BRICKS), Blocks.NETHER_BRICK_STAIRS).func_218643_a("has_nether_bricks", this.hasItem(Blocks.NETHER_BRICKS)).func_218645_a(consumer, "nether_brick_stairs_from_nether_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.NETHER_BRICKS), Blocks.NETHER_BRICK_WALL).func_218643_a("has_nether_bricks", this.hasItem(Blocks.NETHER_BRICKS)).func_218645_a(consumer, "nether_brick_wall_from_nether_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.RED_NETHER_BRICKS), Blocks.RED_NETHER_BRICK_SLAB, 2).func_218643_a("has_nether_bricks", this.hasItem(Blocks.RED_NETHER_BRICKS)).func_218645_a(consumer, "red_nether_brick_slab_from_red_nether_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.RED_NETHER_BRICKS), Blocks.RED_NETHER_BRICK_STAIRS).func_218643_a("has_nether_bricks", this.hasItem(Blocks.RED_NETHER_BRICKS)).func_218645_a(consumer, "red_nether_brick_stairs_from_red_nether_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.RED_NETHER_BRICKS), Blocks.RED_NETHER_BRICK_WALL).func_218643_a("has_nether_bricks", this.hasItem(Blocks.RED_NETHER_BRICKS)).func_218645_a(consumer, "red_nether_brick_wall_from_red_nether_bricks_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.PURPUR_BLOCK), Blocks.PURPUR_SLAB, 2).func_218643_a("has_purpur_block", this.hasItem(Blocks.PURPUR_BLOCK)).func_218645_a(consumer, "purpur_slab_from_purpur_block_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.PURPUR_BLOCK), Blocks.PURPUR_STAIRS).func_218643_a("has_purpur_block", this.hasItem(Blocks.PURPUR_BLOCK)).func_218645_a(consumer, "purpur_stairs_from_purpur_block_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.PURPUR_BLOCK), Blocks.PURPUR_PILLAR).func_218643_a("has_purpur_block", this.hasItem(Blocks.PURPUR_BLOCK)).func_218645_a(consumer, "purpur_pillar_from_purpur_block_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.PRISMARINE), Blocks.PRISMARINE_SLAB, 2).func_218643_a("has_prismarine", this.hasItem(Blocks.PRISMARINE)).func_218645_a(consumer, "prismarine_slab_from_prismarine_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.PRISMARINE), Blocks.PRISMARINE_STAIRS).func_218643_a("has_prismarine", this.hasItem(Blocks.PRISMARINE)).func_218645_a(consumer, "prismarine_stairs_from_prismarine_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.PRISMARINE), Blocks.PRISMARINE_WALL).func_218643_a("has_prismarine", this.hasItem(Blocks.PRISMARINE)).func_218645_a(consumer, "prismarine_wall_from_prismarine_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.PRISMARINE_BRICKS), Blocks.PRISMARINE_BRICK_SLAB, 2).func_218643_a("has_prismarine_brick", this.hasItem(Blocks.PRISMARINE_BRICKS)).func_218645_a(consumer, "prismarine_brick_slab_from_prismarine_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.PRISMARINE_BRICKS), Blocks.PRISMARINE_BRICK_STAIRS).func_218643_a("has_prismarine_brick", this.hasItem(Blocks.PRISMARINE_BRICKS)).func_218645_a(consumer, "prismarine_brick_stairs_from_prismarine_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.DARK_PRISMARINE), Blocks.DARK_PRISMARINE_SLAB, 2).func_218643_a("has_dark_prismarine", this.hasItem(Blocks.DARK_PRISMARINE)).func_218645_a(consumer, "dark_prismarine_slab_from_dark_prismarine_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.DARK_PRISMARINE), Blocks.DARK_PRISMARINE_STAIRS).func_218643_a("has_dark_prismarine", this.hasItem(Blocks.DARK_PRISMARINE)).func_218645_a(consumer, "dark_prismarine_stairs_from_dark_prismarine_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.ANDESITE), Blocks.ANDESITE_SLAB, 2).func_218643_a("has_andesite", this.hasItem(Blocks.ANDESITE)).func_218645_a(consumer, "andesite_slab_from_andesite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.ANDESITE), Blocks.ANDESITE_STAIRS).func_218643_a("has_andesite", this.hasItem(Blocks.ANDESITE)).func_218645_a(consumer, "andesite_stairs_from_andesite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.ANDESITE), Blocks.ANDESITE_WALL).func_218643_a("has_andesite", this.hasItem(Blocks.ANDESITE)).func_218645_a(consumer, "andesite_wall_from_andesite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.ANDESITE), Blocks.POLISHED_ANDESITE).func_218643_a("has_andesite", this.hasItem(Blocks.ANDESITE)).func_218645_a(consumer, "polished_andesite_from_andesite_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.ANDESITE), Blocks.POLISHED_ANDESITE_SLAB, 2).func_218643_a("has_andesite", this.hasItem(Blocks.ANDESITE)).func_218645_a(consumer, "polished_andesite_slab_from_andesite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.ANDESITE), Blocks.POLISHED_ANDESITE_STAIRS).func_218643_a("has_andesite", this.hasItem(Blocks.ANDESITE)).func_218645_a(consumer, "polished_andesite_stairs_from_andesite_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.POLISHED_ANDESITE), Blocks.POLISHED_ANDESITE_SLAB, 2).func_218643_a("has_polished_andesite", this.hasItem(Blocks.POLISHED_ANDESITE)).func_218645_a(consumer, "polished_andesite_slab_from_polished_andesite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.POLISHED_ANDESITE), Blocks.POLISHED_ANDESITE_STAIRS).func_218643_a("has_polished_andesite", this.hasItem(Blocks.POLISHED_ANDESITE)).func_218645_a(consumer, "polished_andesite_stairs_from_polished_andesite_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.GRANITE), Blocks.GRANITE_SLAB, 2).func_218643_a("has_granite", this.hasItem(Blocks.GRANITE)).func_218645_a(consumer, "granite_slab_from_granite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.GRANITE), Blocks.GRANITE_STAIRS).func_218643_a("has_granite", this.hasItem(Blocks.GRANITE)).func_218645_a(consumer, "granite_stairs_from_granite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.GRANITE), Blocks.GRANITE_WALL).func_218643_a("has_granite", this.hasItem(Blocks.GRANITE)).func_218645_a(consumer, "granite_wall_from_granite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.GRANITE), Blocks.POLISHED_GRANITE).func_218643_a("has_granite", this.hasItem(Blocks.GRANITE)).func_218645_a(consumer, "polished_granite_from_granite_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.GRANITE), Blocks.POLISHED_GRANITE_SLAB, 2).func_218643_a("has_granite", this.hasItem(Blocks.GRANITE)).func_218645_a(consumer, "polished_granite_slab_from_granite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.GRANITE), Blocks.POLISHED_GRANITE_STAIRS).func_218643_a("has_granite", this.hasItem(Blocks.GRANITE)).func_218645_a(consumer, "polished_granite_stairs_from_granite_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.POLISHED_GRANITE), Blocks.POLISHED_GRANITE_SLAB, 2).func_218643_a("has_polished_granite", this.hasItem(Blocks.POLISHED_GRANITE)).func_218645_a(consumer, "polished_granite_slab_from_polished_granite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.POLISHED_GRANITE), Blocks.POLISHED_GRANITE_STAIRS).func_218643_a("has_polished_granite", this.hasItem(Blocks.POLISHED_GRANITE)).func_218645_a(consumer, "polished_granite_stairs_from_polished_granite_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.DIORITE), Blocks.DIORITE_SLAB, 2).func_218643_a("has_diorite", this.hasItem(Blocks.DIORITE)).func_218645_a(consumer, "diorite_slab_from_diorite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.DIORITE), Blocks.DIORITE_STAIRS).func_218643_a("has_diorite", this.hasItem(Blocks.DIORITE)).func_218645_a(consumer, "diorite_stairs_from_diorite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.DIORITE), Blocks.DIORITE_WALL).func_218643_a("has_diorite", this.hasItem(Blocks.DIORITE)).func_218645_a(consumer, "diorite_wall_from_diorite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.DIORITE), Blocks.POLISHED_DIORITE).func_218643_a("has_diorite", this.hasItem(Blocks.DIORITE)).func_218645_a(consumer, "polished_diorite_from_diorite_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.DIORITE), Blocks.POLISHED_DIORITE_SLAB, 2).func_218643_a("has_diorite", this.hasItem(Blocks.POLISHED_DIORITE)).func_218645_a(consumer, "polished_diorite_slab_from_diorite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.DIORITE), Blocks.POLISHED_DIORITE_STAIRS).func_218643_a("has_diorite", this.hasItem(Blocks.POLISHED_DIORITE)).func_218645_a(consumer, "polished_diorite_stairs_from_diorite_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.POLISHED_DIORITE), Blocks.POLISHED_DIORITE_SLAB, 2).func_218643_a("has_polished_diorite", this.hasItem(Blocks.POLISHED_DIORITE)).func_218645_a(consumer, "polished_diorite_slab_from_polished_diorite_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.POLISHED_DIORITE), Blocks.POLISHED_DIORITE_STAIRS).func_218643_a("has_polished_diorite", this.hasItem(Blocks.POLISHED_DIORITE)).func_218645_a(consumer, "polished_diorite_stairs_from_polished_diorite_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.MOSSY_STONE_BRICKS), Blocks.MOSSY_STONE_BRICK_SLAB, 2).func_218643_a("has_mossy_stone_bricks", this.hasItem(Blocks.MOSSY_STONE_BRICKS)).func_218645_a(consumer, "mossy_stone_brick_slab_from_mossy_stone_brick_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.MOSSY_STONE_BRICKS), Blocks.MOSSY_STONE_BRICK_STAIRS).func_218643_a("has_mossy_stone_bricks", this.hasItem(Blocks.MOSSY_STONE_BRICKS)).func_218645_a(consumer, "mossy_stone_brick_stairs_from_mossy_stone_brick_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.MOSSY_STONE_BRICKS), Blocks.MOSSY_STONE_BRICK_WALL).func_218643_a("has_mossy_stone_bricks", this.hasItem(Blocks.MOSSY_STONE_BRICKS)).func_218645_a(consumer, "mossy_stone_brick_wall_from_mossy_stone_brick_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.MOSSY_COBBLESTONE), Blocks.MOSSY_COBBLESTONE_SLAB, 2).func_218643_a("has_mossy_cobblestone", this.hasItem(Blocks.MOSSY_COBBLESTONE)).func_218645_a(consumer, "mossy_cobblestone_slab_from_mossy_cobblestone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.MOSSY_COBBLESTONE), Blocks.MOSSY_COBBLESTONE_STAIRS).func_218643_a("has_mossy_cobblestone", this.hasItem(Blocks.MOSSY_COBBLESTONE)).func_218645_a(consumer, "mossy_cobblestone_stairs_from_mossy_cobblestone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.MOSSY_COBBLESTONE), Blocks.MOSSY_COBBLESTONE_WALL).func_218643_a("has_mossy_cobblestone", this.hasItem(Blocks.MOSSY_COBBLESTONE)).func_218645_a(consumer, "mossy_cobblestone_wall_from_mossy_cobblestone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.SMOOTH_SANDSTONE), Blocks.SMOOTH_SANDSTONE_SLAB, 2).func_218643_a("has_smooth_sandstone", this.hasItem(Blocks.SMOOTH_SANDSTONE)).func_218645_a(consumer, "smooth_sandstone_slab_from_smooth_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.SMOOTH_SANDSTONE), Blocks.SMOOTH_SANDSTONE_STAIRS).func_218643_a("has_mossy_cobblestone", this.hasItem(Blocks.SMOOTH_SANDSTONE)).func_218645_a(consumer, "smooth_sandstone_stairs_from_smooth_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.SMOOTH_RED_SANDSTONE), Blocks.SMOOTH_RED_SANDSTONE_SLAB, 2).func_218643_a("has_smooth_red_sandstone", this.hasItem(Blocks.SMOOTH_RED_SANDSTONE)).func_218645_a(consumer, "smooth_red_sandstone_slab_from_smooth_red_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.SMOOTH_RED_SANDSTONE), Blocks.SMOOTH_RED_SANDSTONE_STAIRS).func_218643_a("has_smooth_red_sandstone", this.hasItem(Blocks.SMOOTH_RED_SANDSTONE)).func_218645_a(consumer, "smooth_red_sandstone_stairs_from_smooth_red_sandstone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.SMOOTH_QUARTZ), Blocks.SMOOTH_QUARTZ_SLAB, 2).func_218643_a("has_smooth_quartz", this.hasItem(Blocks.SMOOTH_QUARTZ)).func_218645_a(consumer, "smooth_quartz_slab_from_smooth_quartz_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.SMOOTH_QUARTZ), Blocks.SMOOTH_QUARTZ_STAIRS).func_218643_a("has_smooth_quartz", this.hasItem(Blocks.SMOOTH_QUARTZ)).func_218645_a(consumer, "smooth_quartz_stairs_from_smooth_quartz_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.END_STONE_BRICKS), Blocks.END_STONE_BRICK_SLAB, 2).func_218643_a("has_end_stone_brick", this.hasItem(Blocks.END_STONE_BRICKS)).func_218645_a(consumer, "end_stone_brick_slab_from_end_stone_brick_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.END_STONE_BRICKS), Blocks.END_STONE_BRICK_STAIRS).func_218643_a("has_end_stone_brick", this.hasItem(Blocks.END_STONE_BRICKS)).func_218645_a(consumer, "end_stone_brick_stairs_from_end_stone_brick_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.END_STONE_BRICKS), Blocks.END_STONE_BRICK_WALL).func_218643_a("has_end_stone_brick", this.hasItem(Blocks.END_STONE_BRICKS)).func_218645_a(consumer, "end_stone_brick_wall_from_end_stone_brick_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.END_STONE), Blocks.END_STONE_BRICKS).func_218643_a("has_end_stone", this.hasItem(Blocks.END_STONE)).func_218645_a(consumer, "end_stone_bricks_from_end_stone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.END_STONE), Blocks.END_STONE_BRICK_SLAB, 2).func_218643_a("has_end_stone", this.hasItem(Blocks.END_STONE)).func_218645_a(consumer, "end_stone_brick_slab_from_end_stone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.END_STONE), Blocks.END_STONE_BRICK_STAIRS).func_218643_a("has_end_stone", this.hasItem(Blocks.END_STONE)).func_218645_a(consumer, "end_stone_brick_stairs_from_end_stone_stonecutting");
      SingleItemRecipeBuilder.func_218648_a(Ingredient.fromItems(Blocks.END_STONE), Blocks.END_STONE_BRICK_WALL).func_218643_a("has_end_stone", this.hasItem(Blocks.END_STONE)).func_218645_a(consumer, "end_stone_brick_wall_from_end_stone_stonecutting");
      SingleItemRecipeBuilder.func_218644_a(Ingredient.fromItems(Blocks.SMOOTH_STONE), Blocks.SMOOTH_STONE_SLAB, 2).func_218643_a("has_smooth_stone", this.hasItem(Blocks.SMOOTH_STONE)).func_218645_a(consumer, "smooth_stone_slab_from_smooth_stone_stonecutting");
   }

   private void cookingRecipesForMethod(Consumer<IFinishedRecipe> recipeConsumerIn, String cookingMethod, CookingRecipeSerializer<?> serializerIn, int cookingTimeIn) {
      CookingRecipeBuilder.cookingRecipe(Ingredient.fromItems(Items.BEEF), Items.COOKED_BEEF, 0.35F, cookingTimeIn, serializerIn).addCriterion("has_beef", this.hasItem(Items.BEEF)).build(recipeConsumerIn, "cooked_beef_from_" + cookingMethod);
      CookingRecipeBuilder.cookingRecipe(Ingredient.fromItems(Items.CHICKEN), Items.COOKED_CHICKEN, 0.35F, cookingTimeIn, serializerIn).addCriterion("has_chicken", this.hasItem(Items.CHICKEN)).build(recipeConsumerIn, "cooked_chicken_from_" + cookingMethod);
      CookingRecipeBuilder.cookingRecipe(Ingredient.fromItems(Items.COD), Items.COOKED_COD, 0.35F, cookingTimeIn, serializerIn).addCriterion("has_cod", this.hasItem(Items.COD)).build(recipeConsumerIn, "cooked_cod_from_" + cookingMethod);
      CookingRecipeBuilder.cookingRecipe(Ingredient.fromItems(Blocks.KELP), Items.DRIED_KELP, 0.1F, cookingTimeIn, serializerIn).addCriterion("has_kelp", this.hasItem(Blocks.KELP)).build(recipeConsumerIn, "dried_kelp_from_" + cookingMethod);
      CookingRecipeBuilder.cookingRecipe(Ingredient.fromItems(Items.SALMON), Items.COOKED_SALMON, 0.35F, cookingTimeIn, serializerIn).addCriterion("has_salmon", this.hasItem(Items.SALMON)).build(recipeConsumerIn, "cooked_salmon_from_" + cookingMethod);
      CookingRecipeBuilder.cookingRecipe(Ingredient.fromItems(Items.MUTTON), Items.COOKED_MUTTON, 0.35F, cookingTimeIn, serializerIn).addCriterion("has_mutton", this.hasItem(Items.MUTTON)).build(recipeConsumerIn, "cooked_mutton_from_" + cookingMethod);
      CookingRecipeBuilder.cookingRecipe(Ingredient.fromItems(Items.PORKCHOP), Items.COOKED_PORKCHOP, 0.35F, cookingTimeIn, serializerIn).addCriterion("has_porkchop", this.hasItem(Items.PORKCHOP)).build(recipeConsumerIn, "cooked_porkchop_from_" + cookingMethod);
      CookingRecipeBuilder.cookingRecipe(Ingredient.fromItems(Items.POTATO), Items.BAKED_POTATO, 0.35F, cookingTimeIn, serializerIn).addCriterion("has_potato", this.hasItem(Items.POTATO)).build(recipeConsumerIn, "baked_potato_from_" + cookingMethod);
      CookingRecipeBuilder.cookingRecipe(Ingredient.fromItems(Items.RABBIT), Items.COOKED_RABBIT, 0.35F, cookingTimeIn, serializerIn).addCriterion("has_rabbit", this.hasItem(Items.RABBIT)).build(recipeConsumerIn, "cooked_rabbit_from_" + cookingMethod);
   }

   /**
    * Creates a new {@link EnterBlockTrigger} for use with recipe unlock criteria.
    */
   protected EnterBlockTrigger.Instance enteredBlock(Block blockIn) {
      return new EnterBlockTrigger.Instance(blockIn, (Map<IProperty<?>, Object>)null);
   }

   /**
    * Creates a new {@link InventoryChangeTrigger} that checks for a player having a certain amount of an item.
    */
   protected InventoryChangeTrigger.Instance hasItem(MinMaxBounds.IntBound amount, IItemProvider itemIn) {
      return this.hasItem(ItemPredicate.Builder.create().item(itemIn).count(amount).build());
   }

   /**
    * Creates a new {@link InventoryChangeTrigger} that checks for a player having a certain item.
    */
   protected InventoryChangeTrigger.Instance hasItem(IItemProvider itemIn) {
      return this.hasItem(ItemPredicate.Builder.create().item(itemIn).build());
   }

   /**
    * Creates a new {@link InventoryChangeTrigger} that checks for a player having an item within the given tag.
    */
   protected InventoryChangeTrigger.Instance hasItem(Tag<Item> tagIn) {
      return this.hasItem(ItemPredicate.Builder.create().tag(tagIn).build());
   }

   /**
    * Creates a new {@link InventoryChangeTrigger} that checks for a player having a certain item.
    */
   protected InventoryChangeTrigger.Instance hasItem(ItemPredicate... predicates) {
      return new InventoryChangeTrigger.Instance(MinMaxBounds.IntBound.UNBOUNDED, MinMaxBounds.IntBound.UNBOUNDED, MinMaxBounds.IntBound.UNBOUNDED, predicates);
   }

   /**
    * Gets a name for this provider, to use in logging.
    */
   public String getName() {
      return "Recipes";
   }
}