A re-created Hardcore game isn't Hardcore unless you cycle through game modes and reset it to Hardcore
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
- Select a hardcore game and then 'Re-Create'
- Don't change the game mode settings
- 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.
Linked Issues
is duplicated by4
Created Issue:
A Re-Created Hardcore game isn't Hardcore unless you cycle thru game modes and reset it to Harcdore
I started a Hardcore game, soon a creeper snuck up behind me and blew me up (arg!)... So I closed Minecraft and then reopened it so I could use the re-create option to try the world again. I didn't select any other options other than the 're-create' and the 'create new world' shortly after.
What I expected to happen was...:
The game would be re-created using the same settings as the original game.
(that being Hardcore, Generate Structures, No Bonus Chests, ...)What actually happened was...:
When the game was created the Hardcore mode wasn't set, it was in Survival mode.Steps to Reproduce:
Select a hardcore game and then 'Re-Create'
Don't change the game mode settings
Select 'Create New Game' buttonWork Around:
Cycle through the game mode settings until Hardcore is selected again before you select the 'Create New Game' button.Environment
WinXP SP3
is duplicated by
is duplicated by
relates to
is duplicated by
I started a Hardcore game, soon a creeper snuck up behind me and blew me up (arg!)... So I closed Minecraft and then reopened it so I could use the re-create option to try the world again. I didn't select any other options other than the 're-create' and the 'create new world' shortly after.
What I expected to happen was...:
The game would be re-created using the same settings as the original game.
(that being Hardcore, Generate Structures, No Bonus Chests, ...)What actually happened was...:
When the game was created the Hardcore mode wasn't set, it was in Survival mode.Steps to Reproduce:
Select a hardcore game and then 'Re-Create'
Don't change the game mode settings
Select 'Create New Game' buttonWork Around:
Cycle through the game mode settings until Hardcore is selected again before you select the 'Create New Game' button.Code analysis
A code analysis by [~
I started a Hardcore game, soon a creeper snuck up behind me and blew me up (arg!)... So I closed Minecraft and then reopened it so I could use the re-create option to try the world again. I didn't select any other options other than the 're-create' and the 'create new world' shortly after.
What I expected to happen was...:
The game would be re-created using the same settings as the original game.
(that being Hardcore, Generate Structures, No Bonus Chests, ...)What actually happened was...:
When the game was created the Hardcore mode wasn't set, it was in Survival mode.Steps to Reproduce:
Select a hardcore game and then 'Re-Create'
Don't change the game mode settings
Select 'Create New Game' buttonWork Around:
Cycle through the game mode settings until Hardcore is selected again before you select the 'Create New Game' button.Code analysis
A code analysis by[~I started a Hardcore game, soon a creeper snuck up behind me and blew me up (arg!)... So I closed Minecraft and then reopened it so I could use the re-create option to try the world again. I didn't select any other options other than the 're-create' and the 'create new world' shortly after.
What I expected to happen was...:
The game would be re-created using the same settings as the original game.
(that being Hardcore, Generate Structures, No Bonus Chests, ...)What actually happened was...:
When the game was created the Hardcore mode wasn't set, it was in Survival mode.Steps to Reproduce:
Select a hardcore game and then 'Re-Create'
Don't change the game mode settings
Select 'Create New Game' buttonWork Around:
Cycle through the game mode settings until Hardcore is selected again before you select the 'Create New Game' button.Code analysis
A code analysis by Marcono1234 can be found in this comment.
ARe-Created Hardcore game isn't Hardcore unless you cycle thrugame modes and reset it to HarcdoreA re-created Hardcore game isn't Hardcore unless you cycle through game modes and reset it to Hardcore
I startedaHardcore game, soon a creeper snuck up behind me and blew me up (arg!)... So I closed Minecraft and then reopened it so I could use the re-create option to try the world again. I didn't select any other options other than the 're-create' and the 'create new world' shortly after.What I expected to happen was...:
The game would be re-created using the same settings as the original game.
(that being Hardcore, Generate Structures, No Bonus Chests, ...)What actually happened was...:
When the game was created the Hardcore mode wasn't set, it was in Survival mode.Steps to Reproduce:
Select a hardcore game and then 'Re-Create'
Don't change the game mode settings
Select 'Create New Game' buttonWork Around:
Cycle through the game mode settings until Hardcore is selected again before you select the 'Create New Game' button.Code analysis
A code analysis by Marcono1234 can be found in this comment.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
- Select a hardcore game and then 'Re-Create'
- Don't change the game mode settings
- 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.
WinXP SP3
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
- Select a hardcore game and then 'Re-Create'
- Don't change the game mode settings
- 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.
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
- Select a hardcore game and then 'Re-Create'
- Don't change the game mode settings
- 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.
is duplicated by
Dupe of MC-3984
Confirmed in 1.4.7.
I didn't check if this same thing would happen with any of the other game modes.
Confirmed in 13w04a
13w19a. The level.dat of re-created hardcore world has TAG_Byte(hardcore) set to 0, while the original is 1.
Confirmed in 14w03b
Does this default any other settings (such as if structures were turned off, the chest was turned on, etc.)?
Confirmed for
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
Confirmed for
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
It shoud set the same set up options as in the original world (such as world type, gamemode, bonus chest and so on)
Confirming for 1.9
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.
Still happens in 16w32b.
Confirmed for 1.11.2
Can confirm for MC 1.12.1.
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.
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. ¬_¬