Skip to content

Commit

Permalink
Add in Cloche flower recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
voidsong-dragonfly committed Dec 2, 2023
1 parent ebeecfd commit 76b1f12
Show file tree
Hide file tree
Showing 21 changed files with 517 additions and 21 deletions.
118 changes: 117 additions & 1 deletion src/datagen/java/blusunrize/immersiveengineering/data/Recipes.java
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ private void recipesCloche(@Nonnull Consumer<FinishedRecipe> out)
.addInput(Misc.FERTILIZER)
.build(out, toRL("fertilizer/fertilizer"));

//Crops
ClocheRecipeBuilder.builder(new ItemStack(Items.WHEAT, 2))
.addResult(new ItemStack(Items.WHEAT_SEEDS, 1))
.addInput(Items.WHEAT_SEEDS)
Expand Down Expand Up @@ -374,7 +375,7 @@ private void recipesCloche(@Nonnull Consumer<FinishedRecipe> out)
.setTime(800)
.setRender(new ClocheRenderReference("hemp", IEBlocks.Misc.HEMP_PLANT.get()))
.build(out, toRL("cloche/hemp"));

//Mushrooms & Blocks
Ingredient shroomSoil = Ingredient.of(Blocks.MYCELIUM, Blocks.PODZOL);
ClocheRecipeBuilder.builder(Items.RED_MUSHROOM)
.addInput(Items.RED_MUSHROOM)
Expand All @@ -388,12 +389,127 @@ private void recipesCloche(@Nonnull Consumer<FinishedRecipe> out)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.BROWN_MUSHROOM))
.build(out, toRL("cloche/brown_mushroom"));
ClocheRecipeBuilder.builder(Items.WARPED_FUNGUS)
.addInput(Items.WARPED_FUNGUS)
.addSoil(Blocks.WARPED_NYLIUM)
.setTime(560)
.setRender(new ClocheRenderReference("generic", Blocks.WARPED_FUNGUS))
.build(out, toRL("cloche/warped_fungus"));
ClocheRecipeBuilder.builder(Items.CRIMSON_FUNGUS)
.addInput(Items.CRIMSON_FUNGUS)
.addSoil(Blocks.CRIMSON_NYLIUM)
.setTime(560)
.setRender(new ClocheRenderReference("generic", Blocks.CRIMSON_FUNGUS))
.build(out, toRL("cloche/crimson_fungus"));
ClocheRecipeBuilder.builder(Items.MOSS_BLOCK)
.addInput(Items.MOSS_BLOCK)
.addSoil(Tags.Items.COBBLESTONE)
.setTime(1200)
.setRender(new ClocheRenderReference("generic", Blocks.MOSS_CARPET))
.build(out, toRL("cloche/moss"));
//Flowers
ClocheRecipeBuilder.builder(Items.RED_TULIP)
.addInput(Items.RED_TULIP)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.RED_TULIP))
.build(out, toRL("cloche/red_tulip"));
ClocheRecipeBuilder.builder(Items.ORANGE_TULIP)
.addInput(Items.ORANGE_TULIP)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.ORANGE_TULIP))
.build(out, toRL("cloche/orange_tulip"));
ClocheRecipeBuilder.builder(Items.WHITE_TULIP)
.addInput(Items.WHITE_TULIP)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.WHITE_TULIP))
.build(out, toRL("cloche/white_tulip"));
ClocheRecipeBuilder.builder(Items.PINK_TULIP)
.addInput(Items.PINK_TULIP)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.PINK_TULIP))
.build(out, toRL("cloche/pink_tulip"));
ClocheRecipeBuilder.builder(Items.DANDELION)
.addInput(Items.DANDELION)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.DANDELION))
.build(out, toRL("cloche/dandelion"));
ClocheRecipeBuilder.builder(Items.POPPY)
.addInput(Items.POPPY)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.POPPY))
.build(out, toRL("cloche/poppy"));
ClocheRecipeBuilder.builder(Items.OXEYE_DAISY)
.addInput(Items.OXEYE_DAISY)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.OXEYE_DAISY))
.build(out, toRL("cloche/oxeye_daisy"));
ClocheRecipeBuilder.builder(Items.AZURE_BLUET)
.addInput(Items.AZURE_BLUET)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.AZURE_BLUET))
.build(out, toRL("cloche/azure_bluet"));
ClocheRecipeBuilder.builder(Items.ALLIUM)
.addInput(Items.ALLIUM)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.ALLIUM))
.build(out, toRL("cloche/allium"));
ClocheRecipeBuilder.builder(Items.LILY_OF_THE_VALLEY)
.addInput(Items.LILY_OF_THE_VALLEY)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.LILY_OF_THE_VALLEY))
.build(out, toRL("cloche/lily_of_the_valley"));
ClocheRecipeBuilder.builder(Items.CORNFLOWER)
.addInput(Items.CORNFLOWER)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.CORNFLOWER))
.build(out, toRL("cloche/cornflower"));
ClocheRecipeBuilder.builder(Items.BLUE_ORCHID)
.addInput(Items.BLUE_ORCHID)
.addSoil(Blocks.MUD)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.BLUE_ORCHID))
.build(out, toRL("cloche/blue_orchid"));
ClocheRecipeBuilder.builder(Items.LILAC)
.addInput(Items.LILAC)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.LILAC))
.build(out, toRL("cloche/lilac"));
ClocheRecipeBuilder.builder(Items.SUNFLOWER)
.addInput(Items.SUNFLOWER)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.SUNFLOWER))
.build(out, toRL("cloche/sunflower"));
ClocheRecipeBuilder.builder(Items.ROSE_BUSH)
.addInput(Items.ROSE_BUSH)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.ROSE_BUSH))
.build(out, toRL("cloche/rose_bush"));
ClocheRecipeBuilder.builder(Items.PEONY)
.addInput(Items.PEONY)
.addSoil(Blocks.DIRT)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.PEONY))
.build(out, toRL("cloche/peony"));
ClocheRecipeBuilder.builder(Items.WITHER_ROSE)
.addInput(Items.WITHER_ROSE)
.addSoil(Blocks.SOUL_SOIL)
.setTime(480)
.setRender(new ClocheRenderReference("generic", Blocks.WITHER_ROSE))
.build(out, toRL("cloche/wither_rose"));
}

private void recipesBlueprint(@Nonnull Consumer<FinishedRecipe> out)
Expand Down
Loading

0 comments on commit 76b1f12

Please sign in to comment.