Debug Mode

From Minecraft Wiki
(Redirected from Debug mode)
Jump to navigation Jump to search
File:Debug World Type Overview 15w49a.png
The entire grid as seen from above (15w49a to 1.9.2).

Debug Mode is a world type added to Minecraft in Java Edition 1.8 (14w26a), and is used to test block models, states, and textures. It is useful to both Mojang and resource pack creators.

Accessing[edit | edit source]

To select debug mode, hold the ⇧ Shift key while clicking the "World Type" button in the world creation menu. Debug Mode will then be the world type directly after Buffet Mode and just before Default.

Upon selecting Debug Mode, the "Bonus Chest", "Generate Structures", and "Allow Cheats" options are removed from the menu. The player is always in Spectator Mode, and the Difficulty is locked on peaceful; however, /gamemode and /difficulty will work as usual within the world.

Properties[edit | edit source]

Debug Mode contains all Blocks, in all of their existing block states, organized in a single world. The world will update automatically to include any new registered block IDs that are added.

Block grid[edit | edit source]

File:DebugMode BarrierBlocks.png
Barrier blocks in debug mode.

Blocks are sorted in a grid across a height of y=70 with a barrier floor at y=60. The block grid is approximately 144×148 in size, occupying the southeast quadrant (+X, +Z), though the barrier floor extends past the grid in every direction to the world border. Apart from the barrier floor, the remainder of the map is empty.

Every block state generates only once. There are 90 rows of 91 block states, with an additional partial row of 37 states for a total of 8,227 unique block states.

Other dimensions[edit | edit source]

If a Nether or End portal is used, the player will spawn in the respective variant of the debug world. The sky, light level, and other properties will remain appropriate to the dimension.

In the End, the Ender Dragon and its end crystals will still spawn, although the dragon cannot break or interact with blocks. If the end portal is used in the End, the End Poem and credits will appear as normal. If a player uses an Ender Pearl to utilize the End Gateway portal, the gateway teleports the player, though no outer islands nor a returning gateway portal will generate.

Trivia[edit | edit source]

  • The set biome for Debug Mode is plains by default in the Overworld.
  • The sun is displayed as if it were the beginning of the day (time 100), but the day-night cycle is disabled. The time can still be adjusted using the /time command, and /gamerule doDaylightCycle still functions.
  • If you need/want, then you can edit the world to suit your needs if the world does not update.