Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Debug mode

From SAS Gaming Wiki

Template:Exclusive

File:Debug world preset.png
The world generation in debug mode

Debug mode usually refers to a Minecraft:world preset used to test Minecraft:block states, block Minecraft:models, and textures.

Debug mode can also refer to a dimension generator type (minecraft:debug) that generates a block grid, which is used in the "Debug mode" world preset, and can also be used in Minecraft:custom dimensions.

Debug mode can also refer to a state of a world, if the Overworld uses the "debug" generator, the world goes into the debug mode state. In this state, blocks can't be changed even in creative mode or with commands.

Debug mode world preset

File:DebugModeButton.png
Debug mode selected; note that all of the other world settings are unavailable.

To select the debug mode, hold the Template:Keys key while clicking the "World Type" button in the world creation menu. Debug mode is the world type directly after Minecraft:Single Biome, and just before the default preset.

Upon selecting debug mode, the "Bonus Chest", "Generate Structures", "Allow Cheats" and "Data Packs" options are forcibly disabled. The game mode is set to Minecraft:Spectator, Minecraft:difficulty is locked on Peaceful, and cheats are enabled. The game rule advance_time is forced to false, while other game rules are forced to default values.

Debug generator

The minecraft:debug generator contains all Minecraft:blocks, in all of their existing Minecraft:block states, organized in a single world. The world updates automatically to include any new registered block IDs that are added. Therefore, this mode is useful not only to Minecraft:Mojang Studios developers, but also to creators of Minecraft:resource packs and Minecraft:mods.

Block grid

Every block state generates only once or, in a few cases in some versions, twice. They are sorted in a grid spread across an Minecraft:altitude of Y=70. The block grid changes its size according to the number of blocks and block states available. Let Template:Cd be the total number of block states, and Template:Cd the ceiling of x (that is, x rounded up), the number of blocks per row is given by Template:Cd, however, only the first Template:Cd blocks are counted to determine the block of the next rows, so if Template:Cd, then the last block of each row be repeated in the following row. Note that the number of rows is always slightly less than the number of columns, even if the last row is incomplete.<ref>Template:Bug</ref>

In a grid with Template:Simplecalc block states,Template:SimplecalcTemplate:SimplecalcTemplate:SimplecalcTemplate:SimplecalcTemplate:Simplecalc there are Template:Simplecalc lines with up to Template:Simplecalc block states. The last line has Template:Simplecalc block states. Template:Simplecalc

A barrier floor at Y=60 also spawns, extending past the grid in all directions to the Minecraft:world boundary. Other than the barrier floor, the remainder of the map is empty.

List of blocks

Template:Hatnote

Debug mode state

Debug mode can refer to a state of the world. If the Overworld uses the "debug" generator, the world goes into the debug world state.

World generation

File:Debug World Type hellview 14w27b.png
View of the Nether debug world
File:Debug World Type endview 14w29b.png
View of the End debug world

If a Minecraft:Nether portal or Minecraft:End portal is used, or teleported using Template:Cmd, the player enters other dimensions. The sky, light level and other properties remain appropriate to the Minecraft:dimension.

In this state, all the dimensions are forced to use the "debug" generator. The chunk rendering may not update by itself in these dimensions, resulting in the need to right-click a block to render a new chunk.

In the vanilla Minecraft:End, the Minecraft:ender dragon and its Minecraft:End crystals still spawn, although the dragon cannot break or interact with blocks. The Minecraft:iron bars surrounding some Minecraft:End crystals still spawn, but are unbreakable and invisible.

World behavior

It is impossible to change, place or remove any block, even by the game itself.

Chunk's chunk tick (including random ticks) does not execute.

No entity spawns naturally.

Any block whose interactions do not change its Minecraft:block state can still be Template:Control (including Minecraft:chests, Minecraft:beds, Minecraft:cake, etc.). Although a block's state cannot change, its Minecraft:block entity data can change, either through normal player interaction or with the use of the Template:Cmd command.

These unique properties of debug mode can cause certain blocks to behave in unexpected ways, though due to the arrangement of blocks next to one another, not all may be seen in every version:

History

Template:HistoryTable

Issues

Template:Hatnote Template:Issue list

Trivia

  • The set Minecraft:biome for this mode is Minecraft:plains by default in the Minecraft:Overworld.
  • The Minecraft:sun is displayed as if it were the beginning of the day (time 1000), but the Minecraft:daylight cycle is disabled.
    • Regardless, the time can still be adjusted with the use of the Template:Cmd command, and the daylight cycle can be toggled with the use of the Template:Cmd command. The time can be also advanced from nighttime to sunrise with the use of a bed.
  • Using a Minecraft:map does not create an accurate map of the blocks in the world.
  • When the world type in the world creation screen is set to Default, clicking on the World Type button with both Template:Keys and Template:Keys held down immediately changes the world type to Debug Mode.
  • Experimental blocks generate even if the corresponding Minecraft:experiments are disabled.
    • They can be obtained in the hotbar by pressing Template:Control while in Minecraft:Creative mode. They are labelled as "Disabled Item", cannot be placed and disappear when dropped.
  • Banners with banner patterns and decorated pots with sherds do not generate in debug mode.

Gallery

Screenshots

References

Template:Reflist

Navigation

Template:Navbox Debug mode grid

Template:Navbox environment

Minecraft:de:Debug-Modus Minecraft:es:Modo debug Minecraft:fr:Mode de débogage Minecraft:ja:デバッグモード Minecraft:ko:디버그 모드 Minecraft:pl:Tryb debugowania Minecraft:pt:Modo de depuração Minecraft:ru:Режим отладки Minecraft:uk:Режим налагодження Minecraft:zh:调试模式