mojira.dev
MC-181832

The "/spreadplayers" command doesn't spread entities in the specified dimension

The Bug:

The "/spreadplayers" command doesn't spread entities in the specified dimension.

When using the spreadplayers command in combination with execute in <dimension>, for example:

/execute in minecraft:overworld run spreadplayers 0 0 0 1 false @s

the players will be positioned as if they were spread in the given dimension but they will remain in the dimension they were in before.

Steps to Reproduce:

  1. Enter the overworld if not in it already.

  2. Use the "/spreadplayers" command in an attempt to spread players in the nether dimension by using the command provided below.

    /execute in minecraft:the_nether run spreadplayers 0 0 0 1 false @s
  3. Take note of how the players are spread to the specified coordinates but remain in the overworld instead of being teleported to the specified dimension.

Observed Behavior:

Entities are teleported to the said coordinates but remain in the dimension that they were currently in when the command was executed.

Expected Behavior:

Entities would be teleported to the said coordinates in the specified dimension.

Linked issues

Attachments

Comments 3

Confirmed in 20w20b

Jonah Bauer

slicedlime

Confirmed

Normal

Commands

spreadplayers

20w18a, 20w20b, 1.16 Pre-release 5, 1.16 Pre-release 6, 1.16 Pre-release 7, ..., 1.16, 1.16.1, 1.16.4, 20w51a, 1.19.3

23w03a

Retrieved