#HELP

1 messages · Page 1 of 1 (latest)

karmic lintel
#

so basically im making a datapack with a custom advanment i have the right critera setup but but everytime i get any item it works but i only want it to give me the achievment on a certain item

craggy nexusBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

                        🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you


                        
                        ✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
zenith vigil
#

Can I see the advancement?

small adder
#

@karmic lintel

karmic lintel
karmic lintel
craggy nexusBOT
# craggy nexus <@&1201956957406109788>

<@&935561184806060073> <@&1202694677766348840>

**🙇 Helpers Arise!**

Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)

foggy shale
#

What troubleshooting have you tried so far?

karmic lintel
foggy shale
#

Ok. Can you paste the advancement in here? Not the zip file

karmic lintel
# foggy shale Ok. Can you paste the advancement in here? Not the zip file

{
"__comment": "Made with TheDestruc7i0n's advancements generator: https://advancements.thedestruc7i0n.ca",
"display": {
"title": {
"text": "Ender Bow",
"color": "light_purple",
"bold": true
},
"description": {
"text": "A Mysterious Bow"
},
"icon": {
"item": "minecraft:bow"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"Knowledge": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"count": {
"min": 1,
"max": 1
},
"item": "minecraft:knowledge_book"
}
]
}
}
},
"parent": "adventure:root"
}

foggy shale
#

Ok, and you say it's triggering whenever you get any item?

foggy shale
#

Ah, I see why

#

I plugged it into Misode, you aren't listing the Knowledge Book as a valid item correctly

#

Paste this into Misode's advancement generator and you'll see both where the error is and how to add the Knowledge Book

fast birchBOT
#
**📖 Misode**

Awesome website with generators for almost everything. Also contains a technical changelog for new versions, guides on how to use some features, a performance report inspector and more!

Full list of generators: Loot Tables, Predicates, Item Modifiers, Advancements, Recipes, Text Components, Damage Types, Chat Types, Trim Materials, Trim Patterns, pack.mcmetas, Dimensions, Dimension Types, Biomes, Configured Carvers, Configured Features, Placed Features, Density Functions, Noise, Noise Settings, Structures, Structure Sets, Processor Lists, Template Pools, World Presets, Flat World Presets, World Settings, Block Tags, Entity Type Tags, Fluid Tags, Game Event Tags, Item Tags, Biome Tags, Structure Tags, Blockstates, Models, Fonts, Atlases

Link: https://misode.github.io/

karmic lintel
# foggy shale Paste this into Misode's advancement generator and you'll see both where the err...

so just put this in there "display": {
"title": {
"text": "Ender Bow",
"color": "light_purple",
"bold": true
},
"description": {
"text": "A Mysterious Bow"
},
"icon": {
"item": "minecraft:bow"
},
"frame": "task",
"show_toast": true,
"announce_to_chat": true,
"hidden": false
},
"criteria": {
"Knowledge": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"count": {
"min": 1,
"max": 1
},
"item": "minecraft:knowledge_book"
}
]
}
}
},
"parent": "adventure:root"
}

foggy shale
#

That doesn't look any different

karmic lintel
#

{
"display": {
"icon": {
"item": "minecraft:knowledge_book"
},
"title": "Ender Bow",
"description": "A mysterious pow",
"show_toast": true,
"announce_to_chat": true
},
"parent": "minecraft:adventure/adventuring_time",
"criteria": {
"Knowledge": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"minecraft:knowledge_book"
]
}
]
}
}
}
}

foggy shale
#

That looks better at a glance

karmic lintel
#

so should i try it

foggy shale
#

I shouldn't need me to answer that

karmic lintel
#

{
"display": {
"icon": {
"item": "minecraft:light"
},
"title": "Zues's Sword",
"description": "Zues owned this",
"show_toast": true,
"announce_to_chat": true
},
"parent": "minecraft:adventure/hero_of_the_village",
"criteria": {
"Lightning": {
"trigger": "minecraft:inventory_changed",
"conditions": {
"items": [
{
"items": [
"minecraft:light"
],
"count": 1
}
]
}
}
}
}