-
Bug
-
Resolution: Duplicate
-
None
-
1.15.2
-
None
-
Windows 10
-
Unconfirmed
-
(Unassigned)
What I expected: Using a knowledge book will award the players advancements with the criteria consuming a knowledge book
What actually happened: Using a knowledge book does NOT award the players those advancements, although your score of using the book does go up.
How to reproduce:
1. Do /scoreboard objectives add useBook minecraft.used:minecraft.knowledge_book
2. Do /scoreboard objectives setdisplay sidebar useBook
3. Download the datapack below containing the advancement and reload
4. Do /give @s knowledge_book
5. Use the book
6. See that the score goes up but you don't get xp
Advancement JSON:
{
"display": {
"title": {
"text": "Advancement"
},
"description": {
"text": "Description"
},
"icon": {
"item": "minecraft:stone"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"use_book": {
"trigger": "minecraft:consume_item",
"conditions": {
"item": {
"item": "minecraft:knowledge_book"
}
}
}
},
"requirements": [
[
"randomize_kit"
]
],
"rewards": {
"experience": 10000
},
"parent": "bug:hidden/root"
}
- duplicates
-
MC-124707 How can I make "Use Name Tag" advancement in data pack
- Resolved