Skip to content

Commit

Permalink
feat: make Goat Horn, Echo Shard and Froglights decomposable
Browse files Browse the repository at this point in the history
  • Loading branch information
Elenterius committed Jan 6, 2023
1 parent e9961bf commit 797082e
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -440,9 +440,19 @@ private void registerDecomposingRecipes(Consumer<FinishedRecipe> consumer) {
//biomes o plenty
DecomposerRecipeBuilder.create().ifModLoaded("biomesoplenty").setIngredient(new DatagenIngredient("biomesoplenty:flesh_tendons")).addOutput(ModItems.ELASTIC_FIBERS.get(), 4, 8).addOutput(ModItems.FLESH_BITS.get(), 1, 2).unlockedBy(ModItems.MOB_SINEW).save(consumer);

registerDecomposerRecipesFor119(consumer);
registerDecomposerRecipesForAlexsMobs(consumer);
}

private void registerDecomposerRecipesFor119(Consumer<FinishedRecipe> consumer) {
DecomposerRecipeBuilder.create().setIngredient(Items.ECHO_SHARD).addOutput(ModItems.EXOTIC_DUST.get(), 8, 12).unlockedBy(Items.ECHO_SHARD).save(consumer);
DecomposerRecipeBuilder.create().setIngredient(Items.GOAT_HORN).addOutput(ModItems.BIO_MINERALS.get(), 5, 7).addOutput(ModItems.TOUGH_FIBERS.get(), 6, 8).unlockedBy(Items.GOAT_HORN).save(consumer);
DecomposerRecipeBuilder.create().setIngredient(Items.PEARLESCENT_FROGLIGHT).addOutput(ModItems.BIO_LUMENS.get(), 5, 9).addOutput(ModItems.BILE.get(), 2, 3).unlockedBy(Items.PEARLESCENT_FROGLIGHT).save(consumer);
DecomposerRecipeBuilder.create().setIngredient(Items.VERDANT_FROGLIGHT).addOutput(ModItems.BIO_LUMENS.get(), 5, 9).addOutput(ModItems.BILE.get(), 2, 3).unlockedBy(Items.VERDANT_FROGLIGHT).save(consumer);
DecomposerRecipeBuilder.create().setIngredient(Items.OCHRE_FROGLIGHT).addOutput(ModItems.BIO_LUMENS.get(), 5, 9).addOutput(ModItems.BILE.get(), 2, 3).unlockedBy(Items.OCHRE_FROGLIGHT).save(consumer);
DecomposerRecipeBuilder.create().setIngredient(Items.FROGSPAWN).addOutput(ModItems.BILE.get(), 0, 1).unlockedBy(Items.FROGSPAWN).save(consumer);
}

private void registerDecomposerRecipesForAlexsMobs(Consumer<FinishedRecipe> consumer) {
DecomposerRecipeBuilder.create().ifModLoaded(AlexsMobs.MODID)
.setIngredient(AMItemRegistry.ROADRUNNER_FEATHER)
Expand Down

0 comments on commit 797082e

Please sign in to comment.