I summon many markers in this datapack to mark specific, important locations. Unfortunately, many entities use these markers to do specific actions. I can't filter the entities that can use these markers based on distance, because they are very commonly close together. Is there a way to filter the available entities that can use a specific marker?
#Markers specific to a single entity
1 messages · Page 1 of 1 (latest)
<@&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:1747674688: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
View this guide on datapack.wiki: https://datapack.wiki/guide/nbt-and-scores/player-id-system/
I don't understand
So does minecraft assign each player an ID that increments every tick, and we make our custom ID that does the same, and we see if they match?
no, you have to implemen that on your own
So how would I use this to filter who can use a marker?
The marker is summon by a command block, if that helps in any way
What I understood is that it makes a player ID that is made the instant a player joins, and incremented every tick
it doesn't increment every tick
Oh
the tick advancement triggers as soon as the player joins but because they have the advancement now, it doesn't trigger again
Alright, thanks!
@strange marlin Can you send the link again please? It's not working any more
View this guide on datapack.wiki: https://datapack.wiki/guide/nbt-and-scores/player-id-system/
😭
The link didn't change, copy pasteing it, won't magically make it work.
of it isn't working, it's on your end.
it works fine for me