#advancement

1 messages · Page 1 of 1 (latest)

lucid plaza
#

Im trying to make a advancement when it kills a mob, but I think smth is wrong

kindred estuaryBOT
#

<@&1201956957406109788>

Someone will come and help soon!

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

🙇 If nobody has answered you by <t:1724536691:t>, feel free to use the Summon Helpers button to ping our helper team.

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

lucid plaza
#

idk what is it tho

wraith sorrel
#

I'm assuming you've tried setting the type as #minecraft:skeleton?

rain nimbus
#

There are several problems here

#

The minecraft:adventure advancement is called minecraft:adventure/root

#

And you can't have capital letters in file names

lucid plaza
#

also how can I make it so the advancement triggers when you kill 100 of them?

rugged wolf
#

For that you'd need to use a scoreboard to track the kills

#

And have the advancement trigger based on that score

lucid plaza
rain nimbus
#

You can't with just scoreboard criteria

rugged wolf
#

Use a separate advancement to track the kill, and have it run a reward function that increments a dummy scoreboard and revokes the advancement

#

And then again, have the actual advancement that you want to be visible just check if that score is 100 or more

lucid plaza
peak sigil
#

You can use one advancement with several criterias

rain nimbus
#

You could make one hundred criteria, yes

rugged wolf
#

The problem with that is if they're all the same, all those criteria will trigger at once

rain nimbus
#

Ah true

#

I remember someone else was doing a similar thing a while ago; I wonder how they implemented it