The Bug:
Entity distance predicates reject entities exactly at some decimal distance limits, unlike entity selectors.
Steps to Reproduce:
Teleport to the center of the world and summon a marker 0.1 blocks away from it by using the commands provided below.
/tp @s 0 64 0/summon minecraft:marker 0.1 64.0 0.0Test whether the marker is within 0.1 blocks of 0 64 0, first with an entity selector and then with an entity predicate, by using the commands provided below.
/execute positioned 0.0 64.0 0.0 if entity @e[type=minecraft:marker,distance=..0.1]/execute positioned 0.0 64.0 0.0 as @n[type=minecraft:marker] if predicate {type:"minecraft:entity_properties",entity:"this",predicate:{"minecraft:distance":{absolute:{max:0.1}}}}Observe if both tests pass.
Observed Behavior:
Entity distance predicates reject entities exactly at some decimal distance limits.
Expected Behavior:
Entity distance predicates would accept entities exactly at their distance limits, just like entity selectors.