mojira.dev
MCPE-228041

Loading all dimension types on load sets the world-spawn to 0,0

When using any addon that loads each dimension the world spawn has its x and z co-ordinates set to 0. As an example, the addon attached only uses two lines of code.

import {DimensionTypes, system, world} from "@minecraft/server"
system.run(()=>{
    DimensionTypes.getAll().forEach(({typeId})=>{
        world.getDimension(typeId)
    })
})

None of these lines should be resetting the spawn-point, and yet they do.

Expected Result: The player should spawn at 29,71,13

Actual Result: The player spawns at 0 70 0


Steps to reproduce

  1. Download any addon which loads dimensions in the manner above, the addon attached already does this.

  2. Create a new world with a seed confirmed to have a spawn that isn’t 0,Y,0 for this example I used 6839428745003977895

  3. Before entering the world apply the addon you previously downloaded

  4. (OPTIONAL) Enable show co-ordinates

  5. Enter the world and you should see that the co-ordinates are incorrectly set to 0,Y,0

Attachments

Comments 2

This report does not have enough information for us to understand and reproduce the problem.

Please attach an add-on that reproduces the issue and as explained in the instructions on the bug reporting page, when describing your bug, please include the following information in the Description section:

  • List of Steps to reproduce the issue

  • Expected result

  • Actual result

If you are using any add-ons, be sure to include the name and creator of each of them.

Videos and screenshots are also helpful, especially if the issue is a “visual” one.

Please Edit your report to add the above information to the Description.

This issue is currently Awaiting Response. It will automatically reopen when you add information.

Reports that do not have enough information will be closed as Incomplete.

Test Addon

[media]

Expected Result

working_spawn.jpg

Actual Result

broken_version.jpg

No

(Unassigned)

1503613

Plausible

Windows

10

1.21.101 Hotfix

1.21.130.26 Preview

Retrieved