Use the attached id_match predicate and try the following (with a scoreboard called ids
):
Set $tempID ids score to something inside of the range [-43,160,000, 43,160,000].
Set the player's score (or the score of any entity) to the same number.
Using something like /say @e[predicate=something:id_match] will allow the predicate to find the entity,
Set the scores to something outside the range above will not work.
The scores of $tempID
and any other entities should match, of course, for this to work at all.
This is probably also broken in every version since this predicate type was introduced but I don't have time to test them all. ^^'
Thank you for your report!
We're actually already tracking this issue in MC-254370, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote or any additional information to the main ticket it would be appreciated.
Please be sure to use the search feature before creating a ticket to see if the issue has already been reported.
Quick Links:
📗 Tracker Guidelines – 🛠 Community Support – 📧 Mojang Support – 🔑 Account Support – ✍️ Feedback Discord – 💬 Mojira Discord