#Predicate that is true if a entity is exactly 16 coordinates away

1 messages · Page 1 of 1 (latest)

gray jungle
#

Hello!

I have a marker at the middle of a chunk and I want to test if the player moved to another chunks middle by measuring how far away they are from the marker.

I have been running this command to test for the distance:
/execute if entity @e[type=marker,limit=1,predicate=biosphere:16_blocks_away,name="chunkmarker"]

Using this predicate:
{ "condition": "minecraft:entity_properties", "entity": "this", "predicate": { "distance": { "horizontal": { "min": 16, "max": 17 } } } }
What am I doing wrong?

rustic patrolBOT
#

<@&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:1728925583: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

#
⚠️ You already have a question open!

Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D

Open question: #1294674490776617082

#
⚠️ You already have a question open!

Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D

Open question: #1294776296101904507

dapper fractal
#

ok, wait

dapper fractal
gray jungle
dapper fractal
#

hmm

dapper fractal
gray jungle
dapper fractal
gray jungle
dapper fractal
gray jungle
#

Thanbks for the help!