Skip to content

Commit

Permalink
feat: tweak and add decomposer recipes for alex's mobs and caves items
Browse files Browse the repository at this point in the history
  • Loading branch information
Elenterius committed Sep 22, 2024
1 parent aa5c534 commit 0dd2374
Show file tree
Hide file tree
Showing 18 changed files with 567 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,13 @@ private void buildAlexsMobsRecipes(Consumer<FinishedRecipe> consumer) {
.addOutput(ModItems.BONE_FRAGMENTS.get(), 2, 4)
.unlockedBy(AMItemRegistry.SHARK_TOOTH).save(consumer);

createAlexsMobsRecipe()
.setIngredient(AMItemRegistry.LOBSTER_TAIL)
.addOutput(ModItems.FLESH_BITS.get(), 2, 4)
.addOutput(ModItems.TOUGH_FIBERS.get(), 1, 2)
.addOutput(ModItems.ELASTIC_FIBERS.get(), 1, 2)
.unlockedBy(AMItemRegistry.LOBSTER_TAIL).save(consumer);

createAlexsMobsRecipe()
.setIngredient(AMItemRegistry.KOMODO_SPIT)
.addOutput(ModItems.BILE.get(), 1, 2)
Expand Down Expand Up @@ -490,7 +497,8 @@ private void buildAlexsMobsRecipes(Consumer<FinishedRecipe> consumer) {

createAlexsMobsRecipe()
.setIngredient(AMItemRegistry.MIMICREAM)
.addOutput(ModItems.BILE.get(), 3, 4)
.addOutput(ModItems.BILE.get(), 2, 3)
.addOutput(ModItems.REGENERATIVE_FLUID.get(), 1, 2)
.addOutput(ModItems.EXOTIC_DUST.get(), 4, 6)
.unlockedBy(AMItemRegistry.MIMICREAM).save(consumer);

Expand Down Expand Up @@ -567,7 +575,7 @@ private void buildAlexsMobsRecipes(Consumer<FinishedRecipe> consumer) {

createAlexsMobsRecipe()
.setIngredient(AMItemRegistry.KANGAROO_HIDE)
.addOutput(ModItems.TOUGH_FIBERS.get(), 1, 2)
.addOutput(ModItems.TOUGH_FIBERS.get(), 2, 4)
.unlockedBy(AMItemRegistry.KANGAROO_HIDE).save(consumer);

createAlexsMobsRecipe()
Expand Down Expand Up @@ -668,7 +676,6 @@ private void buildAlexsMobsRecipes(Consumer<FinishedRecipe> consumer) {
createAlexsMobsRecipe()
.setIngredient(AMItemRegistry.ELASTIC_TENDON)
.addOutput(ModItems.ELASTIC_FIBERS.get(), 4, 8)
.addOutput(ModItems.TOUGH_FIBERS.get(), 1, 2)
.addOutput(ModItems.EXOTIC_DUST.get(), 4, 8)
.unlockedBy(AMItemRegistry.ELASTIC_TENDON).save(consumer);

Expand All @@ -682,6 +689,14 @@ private void buildAlexsMobsRecipes(Consumer<FinishedRecipe> consumer) {
.addOutput(ModItems.BONE_FRAGMENTS.get(), 2, 5)
.unlockedBy(AMItemRegistry.FISH_BONES).save(consumer);

createAlexsMobsRecipe()
.setIngredient(AMItemRegistry.COSMIC_COD)
.addOutput(ModItems.FLESH_BITS.get(), 2, 4)
.addOutput(ModItems.BONE_FRAGMENTS.get(), 1, 2)
.addOutput(ModItems.ELASTIC_FIBERS.get(), 1, 2)
.addOutput(ModItems.EXOTIC_DUST.get(), 1, 2)
.unlockedBy(AMItemRegistry.COSMIC_COD).save(consumer);

createAlexsMobsRecipe()
.setIngredient(AMBlockRegistry.CAIMAN_EGG.get())
.addOutput(ModItems.HORMONE_SECRETION.get(), 1)
Expand Down Expand Up @@ -716,11 +731,24 @@ private void buildAlexsCavesRecipes(Consumer<FinishedRecipe> consumer) {
.addOutput(ModItems.MINERAL_FRAGMENT.get(), 4, 7)
.unlockedBy(ACItemRegistry.FERROUSLIME_BALL).save(consumer);

createAlexsCavesRecipe()
.setIngredient(ACItemRegistry.TRILOCARIS_TAIL)
.addOutput(ModItems.FLESH_BITS.get(), 2, 4)
.addOutput(ModItems.TOUGH_FIBERS.get(), 1, 2)
.addOutput(ModItems.ELASTIC_FIBERS.get(), 1, 2)
.unlockedBy(ACItemRegistry.TRILOCARIS_TAIL).save(consumer);

createAlexsCavesRecipe()
.setIngredient(ACItemRegistry.PINE_NUTS)
.addOutput(ModItems.ORGANIC_MATTER.get(), 2, 3)
.unlockedBy(ACItemRegistry.PINE_NUTS).save(consumer);

createAlexsCavesRecipe()
.setIngredient(ACItemRegistry.PEWEN_SAP)
.addOutput(ModItems.BILE.get(), 0, 1)
.addOutput(ModItems.ORGANIC_MATTER.get(), 0, 2)
.unlockedBy(ACItemRegistry.PEWEN_SAP).save(consumer);

createAlexsCavesRecipe()
.setIngredient(ACItemRegistry.AMBER_CURIOSITY)
.addOutput(ModItems.BILE.get(), 3, 6)
Expand All @@ -738,7 +766,7 @@ private void buildAlexsCavesRecipes(Consumer<FinishedRecipe> consumer) {

createAlexsCavesRecipe()
.setIngredient(ACItemRegistry.TOUGH_HIDE)
.addOutput(ModItems.TOUGH_FIBERS.get(), 2, 4)
.addOutput(ModItems.TOUGH_FIBERS.get(), 3, 5)
.unlockedBy(ACItemRegistry.TOUGH_HIDE).save(consumer);

createAlexsCavesRecipe()
Expand Down Expand Up @@ -874,6 +902,14 @@ private void buildAlexsCavesRecipes(Consumer<FinishedRecipe> consumer) {
.addOutput(ModItems.EXOTIC_DUST.get(), 2, 6)
.unlockedBy(ACBlockRegistry.RELICHEIRUS_EGG.get()).save(consumer);

createAlexsCavesRecipe()
.setIngredient(ACBlockRegistry.ATLATITAN_EGG.get())
.addOutput(ModItems.STONE_POWDER.get(), 0, 4)
.addOutput(ModItems.HORMONE_SECRETION.get(), 1, 4)
.addOutput(ModItems.ORGANIC_MATTER.get(), 1, 4)
.addOutput(ModItems.EXOTIC_DUST.get(), 2, 6)
.unlockedBy(ACBlockRegistry.ATLATITAN_EGG.get()).save(consumer);

createAlexsCavesRecipe()
.setIngredient(ACBlockRegistry.CARMINE_FROGLIGHT.get())
.addOutput(ModItems.BIO_LUMENS.get(), 5, 9)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,6 @@ private void buildAlexsCavesRecipes(Consumer<FinishedRecipe> consumer) {
createAlexsCavesRecipe(4, ACBlockRegistry.GROTTOCERATOPS_EGG.get()).setCraftingCost(3).save(consumer);
createAlexsCavesRecipe(4, ACBlockRegistry.TREMORSAURUS_EGG.get()).setCraftingCost(3).save(consumer);
createAlexsCavesRecipe(4, ACBlockRegistry.RELICHEIRUS_EGG.get()).setCraftingCost(3).save(consumer);
createAlexsCavesRecipe(4, ACBlockRegistry.ATLATITAN_EGG.get()).setCraftingCost(3).save(consumer);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"advancements": [
{
"advancement": {
"parent": "minecraft:recipes/root",
"criteria": {
"has_atlatitan_egg": {
"conditions": {
"items": [
{
"items": [
"alexscaves:atlatitan_egg"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "biomancy:decomposing/atlatitan_egg_decomposing"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_atlatitan_egg",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"biomancy:decomposing/atlatitan_egg_decomposing"
]
},
"sends_telemetry_event": false
},
"conditions": [
{
"type": "forge:mod_loaded",
"modid": "alexscaves"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"advancements": [
{
"advancement": {
"parent": "minecraft:recipes/root",
"criteria": {
"has_cosmic_cod": {
"conditions": {
"items": [
{
"items": [
"alexsmobs:cosmic_cod"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "biomancy:decomposing/cosmic_cod_decomposing"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_cosmic_cod",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"biomancy:decomposing/cosmic_cod_decomposing"
]
},
"sends_telemetry_event": false
},
"conditions": [
{
"type": "forge:mod_loaded",
"modid": "alexsmobs"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"advancements": [
{
"advancement": {
"parent": "minecraft:recipes/root",
"criteria": {
"has_lobster_tail": {
"conditions": {
"items": [
{
"items": [
"alexsmobs:lobster_tail"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "biomancy:decomposing/lobster_tail_decomposing"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_lobster_tail",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"biomancy:decomposing/lobster_tail_decomposing"
]
},
"sends_telemetry_event": false
},
"conditions": [
{
"type": "forge:mod_loaded",
"modid": "alexsmobs"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"advancements": [
{
"advancement": {
"parent": "minecraft:recipes/root",
"criteria": {
"has_pewen_sap": {
"conditions": {
"items": [
{
"items": [
"alexscaves:pewen_sap"
]
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "biomancy:decomposing/pewen_sap_decomposing"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_pewen_sap",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"biomancy:decomposing/pewen_sap_decomposing"
]
},
"sends_telemetry_event": false
},
"conditions": [
{
"type": "forge:mod_loaded",
"modid": "alexscaves"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"advancements": [
{
"advancement": {
"parent": "minecraft:recipes/root",
"criteria": {
"has_the_recipe": {
"conditions": {
"recipe": "biomancy:decomposing/trilocaris_tail_decomposing"
},
"trigger": "minecraft:recipe_unlocked"
},
"has_trilocaris_tail": {
"conditions": {
"items": [
{
"items": [
"alexscaves:trilocaris_tail"
]
}
]
},
"trigger": "minecraft:inventory_changed"
}
},
"requirements": [
[
"has_trilocaris_tail",
"has_the_recipe"
]
],
"rewards": {
"recipes": [
"biomancy:decomposing/trilocaris_tail_decomposing"
]
},
"sends_telemetry_event": false
},
"conditions": [
{
"type": "forge:mod_loaded",
"modid": "alexscaves"
}
]
}
]
}
Loading

0 comments on commit 0dd2374

Please sign in to comment.