mojira.dev
MC-54484

Customized World Preset Biome ID >= 8 adds 2

To reproduce:

  • Create New World.

  • Select "Customized" World type.

  • Click on "Customize".

  • Choose any biome after "River", click "Done".

  • Re-click on "Customize", see the slider has moved forward 2 ticks.

Also:

  • If "Mesa Plateau F" or "Mesa Plateau" biome is chosen,

  • Re-click on "Customize", see the slider is graphically off its track, and the label simply reads "Biome: ?".

  • (Does not crash in 1.11.2 and forward, but has previously caused a crash, see attachment)


Code analysis by @unknown can be found in this comment.

Linked issues

MC-53473 Customized world settings Biome sliders change when you re-customize the world Resolved MC-55430 [Customized World Type] Returning to the "Customize" menu can select another biome Resolved MC-55550 Minecraft Crashing when editing customised world settings Resolved MC-55644 14w20b: World Generation Crash Resolved MC-55940 Customized world boime slider got move Resolved

Attachments

Comments 27

Confirmed for 14w20b.
To reproduce:

  • Create New World.

  • Select "Customized" World type.

  • Click on "Customize".

  • Choose "Mesa Plateau" biome

  • Re-Click on "Customize".
    You'll crash.

14w20b

Description: Updating screen events

java.lang.NullPointerException: Updating screen events
	at bmu.b(SourceFile:497)
	at bmu.a(SourceFile:453)
	at bli.e(SourceFile:53)
	at bli.<init>(SourceFile:25)
	at blv.a(SourceFile:163)
	at blv.a(SourceFile:137)
	at blv.r(SourceFile:41)
	at blv.<init>(SourceFile:32)

Confirmed for 14w21b.

Its important to note that crashing isn't the only issue here.

When using the world customization, if you use a preset code that contains a fixedBiome with a value of 8 or greater, Minecraft will add 2 to that number upon clicking Use Preset. Another way to invoke this bug is, from within the world customization menu, select a biome of FrozenOcean or greater, click Presets then Use Preset, and see that the biome has advanced by 2 even though the preset code was not altered. If you try this with the last two biomes (Mesa Plateau F or Mesa Plateau), Minecraft will crash.

So basically any fixedBiome greater than 8 is adding 2 for you due to the fact hell, and sky aren't available on customized?, which is more the cause of the crash.

Confirmed for 14w25b.

17 more comments

+2 Bug Begins at FrozenOcean for me.

Confirmed for 17w15a

Confirmed for 1.12: 17w17b

Confirmed for 18w05a

Please vote to get this fixed as it seems like an easy fix, but a tedious annoyance to players.

john

(Unassigned)

Confirmed

customized-world, customized-world-settings

Minecraft 14w18b, Minecraft 14w20b, Minecraft 14w21b, Minecraft 14w25b, Minecraft 14w26c, ..., Minecraft 1.12.2, Minecraft 17w50a, Minecraft 18w01a, Minecraft 18w02a, Minecraft 18w05a

Retrieved