Debug mode



Debug Mode is a world type that contains all vanilla Minecraft blocks in all their different states and data values in a single world folder in a grid across height y=70, with a barrier floor at y=60. To select the debug mode, the key has to be pressed down when the Customized world type is reached; the next world type will then be Debug Mode rather than Default.

Uses
The world type is used to test block models, states and textures. It is thereby useful not only to Mojang but also to creators of resource packs.

Properties
The only game mode available is Spectator, and further options (such as generated structures, bonus chest, etc.) are unavailable, however the game mode can be changed from inside the world with console commands. Breaking blocks is possible if the game mode is switched, however removing them is not; breaking blocks causes them to regenerate instantly. Some blocks allow right click interactions (e.g. chests), while others don't (e.g. levers, redstone repeaters).

If a nether or end portal is used, the player will spawn in a nether version of the debug world or the end credits will appear, depending on the portal used. If the end is reached through the nether, an end version of the debug world generates, with the ender dragon flying around.

The debug world's block grid is approximately 170x170 around 0,0 in size, although the barrier floor extends past the grid to the world border at X/Z 29,999,984.

Issues
However, any issue with the debug world will be resolved as invalid due to the fact that despite the bugs in there, it should not be interacted with outside of Spectator mode.

Trivia

 * Every block creates only once. The remainder of the map is empty.
 * The sun is displayed, but there is no day/night cycle. The daytime can be adjusted using console commands.
 * When a debug mode world is loaded in a previous Minecraft version, the loading screen will freeze.

Testmodus