[MC-3984] A re-created Hardcore game isn't Hardcore unless you cycle through game modes and reset it to Hardcore Created: 30/Nov/12  Updated: 28/Aug/19  Resolved: 28/Aug/19

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.5, Minecraft 1.4.7, Snapshot 13w04a, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.5.1, Minecraft 14w28a, Minecraft 14w29b, Minecraft 14w30c, Minecraft 14w31a, Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 15w37a, Minecraft 1.9, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w01a, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 1.14.3
Fix Version/s: 19w35a

Type: Bug
Reporter: Kraif Assignee: [Mojang] Bartosz Bok
Resolution: Fixed Votes: 15
Labels: hardcore, re-create

Issue Links:
Duplicate
is duplicated by MC-8476 Cheats and bonus chest with hardcore ... Resolved
is duplicated by MC-58290 re-create hardcore shows hardcore but... Resolved
is duplicated by MC-156479 Re-creating a world! Resolved
is duplicated by MC-1355 Reload Hardcore isn't so Hardcore Resolved
Relates
relates to MC-10209 'Allow Cheats' and 'Bonus Chest' butt... Resolved
CHK:
Confirmation Status: Confirmed
Category:
UI

 Description   

The bug

A re-created Hardcore game isn't Hardcore (despite the 'Game Mode' button displaying 'Hardcore') unless you cycle through game modes and reset it to Hardcore.

How to reproduce

  1. Select a hardcore game and then 'Re-Create'
  2. Don't change the game mode settings
  3. Select 'Create New World' button
    Notice that a survival world has been created even though the 'Game Mode' button said 'Hardcore'

Code analysis

Code analysis by marcono1234 can be found in this comment.



 Comments   
Comment by Derek Smith [ 14/Oct/18 ]

It would be nice if Mojang fixed (ancient) bugs like this instead of adding new content to the game. Mods can already add more content to the game than Mojang can dream of, but they can't fix bugs, so Mojang is ultimately just wasting time. ¬_¬

Comment by Kraif [ 29/Aug/18 ]

Confirmed for 1.13.1. Please, if you don't mind, I'd like to be the reporter of this issue, I'll update it accordingly.

Comment by [Mod] bemoty [ 09/Aug/17 ]

Can confirm for MC 1.12.1.

Comment by [Mod] bemoty [ 02/Jan/17 ]

Confirmed for 1.11.2

Comment by [Mod] bemoty [ 16/Aug/16 ]

Still happens in 16w32b.

Comment by Marcono1234 [ 03/Jul/16 ]

Please link to this comment in the description

The following is based on a decompiled version of Minecraft 1.10 using MCP 9.30.

This is happening because the method net.minecraft.client.gui.GuiCreateWorld.recreateFromExistingWorld(WorldInfo) is not setting the boolean field net.minecraft.client.gui.GuiCreateWorld.hardCoreMode to true. This should be fixed by removing this field completely and determining if a gamemode is hardcore by the net.minecraft.client.gui.GuiCreateWorld.gameMode field only. In case there will be game modes other than "hardcore", which have the same hardcore mechanism however, the gamemodes could be enum values that overrite the method toString() to return the String version and have a method that returns whether or not a mode is hardcore.

Comment by Hayden Muhl [ 05/Mar/16 ]

Confirming for 1.9

Comment by SunCat [ 11/Dec/15 ]

It shoud set the same set up options as in the original world (such as world type, gamemode, bonus chest and so on)

Comment by andrew h [ 11/Dec/15 ]

I think that "recreate" doesn't make the same world, it automatically fills in the seed. You can still change the options surrounding the world

Comment by Marcono1234 [ 11/Sep/15 ]

Confirmed for

  • 15w37a
Comment by Marcono1234 [ 20/Jul/14 ]

Confirmed for

  • 14w29b
  • 14w30c
  • 14w31a
  • Minecraft 1.8-pre 1

Interesting question ggxl, but it seems like it only affects hardcore mode (tried with creative mode and re-create and worked fine) also with chests, it just seems like it sets it to false when pressing re-create, but when you check the settings before re-creating it also says that you have bonus chest set to false

Comment by ggxl [ 26/Jun/14 ]

Does this default any other settings (such as if structures were turned off, the chest was turned on, etc.)?

Comment by alef [ 19/Jan/14 ]

Confirmed in 14w03b

Comment by alef [ 23/May/13 ]

13w19a. The level.dat of re-created hardcore world has TAG_Byte(hardcore) set to 0, while the original is 1.

Comment by Pedro M. Zamboni [ 26/Jan/13 ]

Confirmed in 13w04a

Comment by Buzzaro [ 02/Jan/13 ]

I didn't check if this same thing would happen with any of the other game modes.

Comment by Tails [ 31/Dec/12 ]

Confirmed in 1.4.7.

Generated at Sun Jan 12 12:03:03 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.