item builder DSL framework completed and seems to work. custom tag and model generation don't work yet. don't uncomment the tag generation code as it causes a stack overflow crash ⚠️
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_addition": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "fantasysmp:dragonite_ingot"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "fantasysmp:dragonite_boots"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_addition"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"fantasysmp:dragonite_boots"
|
||||
]
|
||||
}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_addition": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "fantasysmp:dragonite_ingot"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "fantasysmp:dragonite_chestplate"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_addition"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"fantasysmp:dragonite_chestplate"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_addition": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "fantasysmp:dragonite_ingot"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "fantasysmp:dragonite_helmet"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_addition"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"fantasysmp:dragonite_helmet"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_addition": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "fantasysmp:dragonite_ingot"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "fantasysmp:dragonite_leggings"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_addition"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"fantasysmp:dragonite_leggings"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"parent": "minecraft:recipes/root",
|
||||
"criteria": {
|
||||
"has_addition": {
|
||||
"conditions": {
|
||||
"items": [
|
||||
{
|
||||
"items": "fantasysmp:dragonite_ingot"
|
||||
}
|
||||
]
|
||||
},
|
||||
"trigger": "minecraft:inventory_changed"
|
||||
},
|
||||
"has_the_recipe": {
|
||||
"conditions": {
|
||||
"recipe": "fantasysmp:dragonite_sword"
|
||||
},
|
||||
"trigger": "minecraft:recipe_unlocked"
|
||||
}
|
||||
},
|
||||
"requirements": [
|
||||
[
|
||||
"has_the_recipe",
|
||||
"has_addition"
|
||||
]
|
||||
],
|
||||
"rewards": {
|
||||
"recipes": [
|
||||
"fantasysmp:dragonite_sword"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"addition": "fantasysmp:dragonite_ingot",
|
||||
"base": "minecraft:netherite_boots",
|
||||
"result": {
|
||||
"id": "fantasysmp:dragonite_boots"
|
||||
},
|
||||
"template": "minecraft:crying_obsidian"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"addition": "fantasysmp:dragonite_ingot",
|
||||
"base": "minecraft:netherite_chestplate",
|
||||
"result": {
|
||||
"id": "fantasysmp:dragonite_chestplate"
|
||||
},
|
||||
"template": "minecraft:elytra"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"addition": "fantasysmp:dragonite_ingot",
|
||||
"base": "minecraft:netherite_helmet",
|
||||
"result": {
|
||||
"id": "fantasysmp:dragonite_helmet"
|
||||
},
|
||||
"template": "minecraft:dragon_head"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"addition": "fantasysmp:dragonite_ingot",
|
||||
"base": "minecraft:netherite_leggings",
|
||||
"result": {
|
||||
"id": "fantasysmp:dragonite_leggings"
|
||||
},
|
||||
"template": "minecraft:crying_obsidian"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "minecraft:smithing_transform",
|
||||
"addition": "fantasysmp:dragonite_ingot",
|
||||
"base": "minecraft:netherite_sword",
|
||||
"result": {
|
||||
"id": "fantasysmp:dragonite_sword"
|
||||
},
|
||||
"template": "minecraft:end_crystal"
|
||||
}
|
||||
Reference in New Issue
Block a user