In my skripts, ive tried to tag the nearest entity to the player with a scoreboard tag, but the only issue is, it adds the scoreboard tag to EVERY ENTITY.
Why is this happening?
There are no logs associated with this issue, ive looked extensively.
it just adds them.
ive tried:
set {_dEntity} to nearest entity to player
add "dEntity" to the scoreboard tags of {_dEntity}
add {_dEntity} to team named "NOCOLLIDING"
and:
execute console command "/execute at player run tag @e[limit=1,sort=nearest] add dEntity"
both end up adding the tag to ALL ENTITIES within render distance
Why is this happening?
There are no logs associated with this issue, ive looked extensively.
it just adds them.
ive tried:
set {_dEntity} to nearest entity to player
add "dEntity" to the scoreboard tags of {_dEntity}
add {_dEntity} to team named "NOCOLLIDING"
and:
execute console command "/execute at player run tag @e[limit=1,sort=nearest] add dEntity"
both end up adding the tag to ALL ENTITIES within render distance