mojira.dev
MC-304061

The warning time for world borders in new worlds is less than expected

Since 25w44a the warning time was change to use ticks like the time for set the size, for old worlds the datafixer change the saved value for convert to ticks but for new worlds still use the old value 15 (the seconds) and not 300 (what the datafixer set for default values)

Steps to Reproduce:

  1. Create a new world

  2. Save and close

Observed Results:
In the data folder of world in the world_border.dat the warning time is 15 ticks

Expected Results:
The warning time is 300 ticks (like 15 seconds in past versions)

You can compare with a world created in 1.21.10, open in last snapshot and check the .dat where the value is updated from 15 to 300.

Comments 4

We do not have enough information to reproduce this issue.

Please include the following information to help us understand your problem:

Steps to Reproduce:

  1. (Explain what needs to be done for the issue to happen)

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

Please also attach any needed commands, data packs, resource packs, screenshots, videos, or worlds needed to help reproduce this issue.

Refer to the Bug Tracker Guidelines for more information about how to write helpful bug reports. Bug reports with insufficient information may be closed as Incomplete.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

See the deofuscated version of 25w45a the issue is the WorldBorder class where the field for warningTime in the class and the Settings record was not update to the new default in ticks

Please reply to my previous question. If the issue is just in the code and it doesn’t affect anything then this bug report is not valid.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
πŸ““ Bug Tracker Guidelines – πŸ’¬ Community Support – πŸ“§ Mojang Support (Technical Issues) – πŸ“§ Microsoft Support (Account Issues)
πŸ““ Project Summary – ✍️ Feedback and Suggestions – πŸ“– Game Wiki

Jira not show how to respond to a past message.. but.. i add the details (added in the original report)

Steps to Reproduce:

  1. Create a new world

  2. Save and close

Observed Results:
In the data folder of world in the world_border.dat the warning time is 15 ticks then the warning screen show in less than 1 second when run the worldborder and the player is close to them

Expected Results:
The warning time is 300 ticks (like 15 seconds in past versions) and players get the screen warning in 15 seconds

Doc

bl4ckscor3

Confirmed

Platform

Important

Save Data

25w45a

25w46a

Retrieved