File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
web/docs/patchouli-basics Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ Below is a brief example:
1616Replace ` yourbooknamespace ` with the namespace part of your book ID (see [ Getting
1717Started] ( /docs/patchouli-basics/getting-started ) ) for information about your book ID.
1818
19- ``` json title="/data/yourbooknamespace/advancements /grant_book_on_first_join.json"
19+ ``` json title="/data/yourbooknamespace/advancement /grant_book_on_first_join.json"
2020{
2121 "criteria" : {
2222 "tick" : {
@@ -31,7 +31,7 @@ Started](/docs/patchouli-basics/getting-started)) for information about your boo
3131}
3232```
3333
34- ``` json title="/data/yourbooknamespace/loot_tables /grant_book_on_first_join.json"
34+ ``` json title="/data/yourbooknamespace/loot_table /grant_book_on_first_join.json"
3535{
3636 "type" : " advancement_reward" ,
3737 "pools" : [
@@ -43,8 +43,10 @@ Started](/docs/patchouli-basics/getting-started)) for information about your boo
4343 "name" : " patchouli:guide_book" ,
4444 "functions" : [
4545 {
46- "function" : " set_nbt" ,
47- "tag" : " {\" patchouli:book\" : \" YOURBOOKIDHERE\" }"
46+ "function" : " minecraft:set_components" ,
47+ "components" : {
48+ "patchouli:book" : " YOURBOOKIDHERE"
49+ }
4850 }
4951 ]
5052 }
You can’t perform that action at this time.
0 commit comments