Skip to content

Commit

Permalink
Merge pull request #16 from Brassburg/Xanth27-patch-1
Browse files Browse the repository at this point in the history
Guidebook
  • Loading branch information
Xanth27 authored Jan 21, 2025
2 parents fd56cde + b17c434 commit aa1096c
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
12 changes: 12 additions & 0 deletions data/brassburg/advancements/grant_guidebook.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"criteria": {
"tick": {
"trigger": "minecraft:tick"
}
},
"rewards": {
"loot": [
"brassburg:grant_guidebook"
]
}
}
20 changes: 20 additions & 0 deletions data/brassburg/loot_tables/grant_guidebook.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"type": "advancement_reward",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "item",
"name": "patchouli:guide_book",
"functions": [
{
"function": "set_nbt",
"tag": "{\"patchouli:book\": \"brassburg_guide\"}"
}
]
}
]
}
]
}
12 changes: 12 additions & 0 deletions data/brassburg/recipes/crafting/guidebook.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"type": "patchouli:shapeless_book_recipe",
"ingredients": [
{
"item": "minecraft:book"
},
{
"item": "create:andesite_alloy"
}
],
"book": "patchouli:brassburg_guide"
}

0 comments on commit aa1096c

Please sign in to comment.