I figured it out.
/data merge block (coords) {RequiredPlayerRange:0s}
ButThis does not work with /setblock ~ ~ ~
directly (MC-80690, so either /data spawner{RequiredPlayerRange:0s}merge
does not work command still needs to be run after a /setblock
command or MaxNearbyEntities
needs to be given as well, does anyone know if you can setblock it?like this:
/setblock (coords) spawner{RequiredPlayerRange:0s,MaxNearbyEntities:0}