Skip to content

Commit

Permalink
Editor wand recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
oOBoomberOo committed Feb 29, 2020
1 parent 966f59b commit 04e38f9
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"criteria": {
"editor_wand": {
"trigger": "minecraft:recipe_unlocked",
"conditions": {
"recipe": "boomber:armor_stand/editor_wand"
}
}
},
"parent": "boomber:armor_stand/event/root",
"rewards": {
"function": "boomber:armor_stand/event/recipe/editor_wand"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
loot give @s loot boomber:armor_stand/item/editor_wand
clear @s knowledge_book 1

advancement revoke @s only boomber:armor_stand/event/recipe/editor_wand
advancement revoke @s from boomber:armor_stand/event/root
recipe take @s boomber:armor_stand/editor_wand
19 changes: 19 additions & 0 deletions data/boomber/recipes/armor_stand/editor_wand.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"type": "crafting_shaped",
"pattern": [
"# ",
" I ",
" #"
],
"key": {
"#": {
"item": "minecraft:iron_nugget"
},
"I": {
"item": "minecraft:stick"
}
},
"result": {
"item": "minecraft:knowledge_book"
}
}

0 comments on commit 04e38f9

Please sign in to comment.