Skip to main content
Please don't ask a new question in an answer, that's where the question field is for.
Source Link
Fabian Röling
  • 20.7k
  • 6
  • 39
  • 78

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}

I figured it out.

/data merge block (coords) {RequiredPlayerRange:0s}

But /setblock ~ ~ ~ spawner{RequiredPlayerRange:0s} does not work, does anyone know if you can setblock it?

I figured it out.

/data merge block (coords) {RequiredPlayerRange:0s}

This does not work with /setblock directly (MC-80690, so either /data merge command still needs to be run after a /setblock command or MaxNearbyEntities needs to be given as well, like this:

/setblock (coords) spawner{RequiredPlayerRange:0s,MaxNearbyEntities:0}
Source Link
AaronKanaron
  • 185
  • 1
  • 1
  • 12

I figured it out.

/data merge block (coords) {RequiredPlayerRange:0s}

But /setblock ~ ~ ~ spawner{RequiredPlayerRange:0s} does not work, does anyone know if you can setblock it?