Skip to content

Commit

Permalink
feat(tetra-compat): make Dragon Sinew decomposable
Browse files Browse the repository at this point in the history
  • Loading branch information
Elenterius committed Oct 28, 2023
1 parent e9f4eb5 commit 6f4732b
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ private void registerDecomposingRecipes(Consumer<FinishedRecipe> consumer) {
registerDecomposerRecipesFor119(consumer);
registerDecomposerRecipesForBiomesOPlenty(consumer);
registerDecomposerRecipesForAlexsMobs(consumer);
registerDecomposerRecipesForTetra(consumer);
}

private void registerDecomposerRecipesFor119(Consumer<FinishedRecipe> consumer) {
Expand All @@ -635,6 +636,14 @@ private void registerDecomposerRecipesForBiomesOPlenty(Consumer<FinishedRecipe>
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);
}

private void registerDecomposerRecipesForTetra(Consumer<FinishedRecipe> consumer) {
DecomposerRecipeBuilder.create().ifModLoaded("tetra").setIngredient(new DatagenIngredient("tetra:dragon_sinew"))
.addOutput(ModItems.ELASTIC_FIBERS.get(), 4, 8)
.addOutput(ModItems.TOUGH_FIBERS.get(), 1, 2)
.addOutput(ModItems.EXOTIC_DUST.get(), 4, 8)
.unlockedBy(ModItems.MOB_SINEW).save(consumer);
}

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

0 comments on commit 6f4732b

Please sign in to comment.