Skip to content

Commit

Permalink
feat: recipe datagen (manually merge #1101) - thanks @GaeaKat
Browse files Browse the repository at this point in the history
  • Loading branch information
klikli-dev committed Jun 9, 2024
1 parent 88e1580 commit 76b7d73
Show file tree
Hide file tree
Showing 883 changed files with 21,831 additions and 2,711 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_iesnium_ingot": {
"conditions": {
"items": [
{
"items": "#c:ingots/iesnium"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "occultism:crafting/iesnium_block"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_iesnium_ingot"
]
],
"rewards": {
"recipes": [
"occultism:crafting/iesnium_block"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_otherstone": {
"conditions": {
"items": [
{
"items": "occultism:otherstone"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "occultism:crafting/otherstone_pedestal"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_otherstone"
]
],
"rewards": {
"recipes": [
"occultism:crafting/otherstone_pedestal"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_otherstone": {
"conditions": {
"items": [
{
"items": "occultism:otherstone"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "occultism:crafting/otherstone_slab"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_otherstone"
]
],
"rewards": {
"recipes": [
"occultism:crafting/otherstone_slab"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_otherstone": {
"conditions": {
"items": [
{
"items": "occultism:otherstone"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "occultism:crafting/sacrificial_bowl"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_otherstone"
]
],
"rewards": {
"recipes": [
"occultism:crafting/sacrificial_bowl"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_silver_ingot": {
"conditions": {
"items": [
{
"items": "#c:ingots/silver"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "occultism:crafting/silver_block"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_silver_ingot"
]
],
"rewards": {
"recipes": [
"occultism:crafting/silver_block"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parent": "minecraft:recipes/root",
"criteria": {
"has_iron_ingot": {
"conditions": {
"items": [
{
"items": "#c:ingots/iron"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "occultism:crafting/butcher_knife"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_iron_ingot"
]
],
"rewards": {
"recipes": [
"occultism:crafting/butcher_knife"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"neoforge:conditions": [
{
"type": "neoforge:not",
"value": {
"type": "neoforge:tag_empty",
"tag": "c:ores/allthemodium"
}
},
{
"type": "neoforge:not",
"value": {
"type": "neoforge:tag_empty",
"tag": "c:dusts/allthemodium"
}
}
],
"parent": "minecraft:recipes/root",
"criteria": {
"has_allthemodium": {
"conditions": {
"items": [
{
"items": "#c:ores/allthemodium"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "occultism:crushing/allthemodium_dust"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_allthemodium"
]
],
"rewards": {
"recipes": [
"occultism:crushing/allthemodium_dust"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"neoforge:conditions": [
{
"type": "neoforge:not",
"value": {
"type": "neoforge:tag_empty",
"tag": "c:ingots/allthemodium"
}
},
{
"type": "neoforge:not",
"value": {
"type": "neoforge:tag_empty",
"tag": "c:dusts/allthemodium"
}
}
],
"parent": "minecraft:recipes/root",
"criteria": {
"has_allthemodium_ingot": {
"conditions": {
"items": [
{
"items": "#c:ingots/allthemodium"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "occultism:crushing/allthemodium_dust_from_ingot"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_allthemodium_ingot"
]
],
"rewards": {
"recipes": [
"occultism:crushing/allthemodium_dust_from_ingot"
]
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"neoforge:conditions": [
{
"type": "neoforge:not",
"value": {
"type": "neoforge:tag_empty",
"tag": "c:raw_materials/allthemodium"
}
},
{
"type": "neoforge:not",
"value": {
"type": "neoforge:tag_empty",
"tag": "c:dusts/allthemodium"
}
}
],
"parent": "minecraft:recipes/root",
"criteria": {
"has_raw_allthemodium": {
"conditions": {
"items": [
{
"items": "#c:raw_materials/allthemodium"
}
]
},
"trigger": "minecraft:inventory_changed"
},
"has_the_recipe": {
"conditions": {
"recipe": "occultism:crushing/allthemodium_dust_from_raw"
},
"trigger": "minecraft:recipe_unlocked"
}
},
"requirements": [
[
"has_the_recipe",
"has_raw_allthemodium"
]
],
"rewards": {
"recipes": [
"occultism:crushing/allthemodium_dust_from_raw"
]
}
}
Loading

0 comments on commit 76b7d73

Please sign in to comment.