mojira.dev
MC-304537

When a World Border is created the warning time can be less than expected until the Setting update

Related to MC-304061 where the default World Border has a default settings for Warning Time less than expected (15 ticks and not 300 ticks), this was fixed for the Settings side but looking the deofuscated code exists a place in the instance of a World Border where this warning time still is 15 ticks until a applyInitialSettings is called and the values are updated from the Settings fixed in the mentioned bug report.

The replication steps are the same than the other report, but its more hard to notice until you make a mod for make example a virtual worldborder and create a default world border ignoring the initial settings.

Steps to Reproduce:

  1. Create a new world

  2. Using third party (mod/plugin) for create an WorldBorder instance directly with the default options

  3. Save and close

Comments 3

Please provide reproduction steps which demonstrate the gameplay impact of the issue.

Hi, the reproductions steps only works for custom enviroment (mods,plugins) where use the WorldBorder and not use the applyInitialSettings, this was talked before in discord about how can report this because the issue is the field still using a default value where in vanilla is overriden later then the method is called and set all based in Settings but the first creation has the old values.

If there is no gameplay impact in vanilla Minecraft then it is not a valid bug. And if the game is being modified anyway then it should be possible to avoid this issue.

Doc

(Unassigned)

Unconfirmed

(Unassigned)

1.21.11 Pre-Release 2, 1.21.11 Pre-Release 3

Retrieved