Debug mode



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

Accessing
To select the debug mode, hold the key while clicking the "World Type" button. Debug mode will then be the world type directly after Customized, and just before Default.

Properties
Debug mode contains all Minecraft blocks in all their different block states in a single world, in a grid across height y=70, with a barrier floor at y=60. Every block state generates only once. The remainder of the map is empty.

When choosing this world, the only game mode available is Spectator; however, works as usual within the world. Further world options (such as generated structures, bonus chest, etc.) are unavailable.

Breaking any block, including those in the barrier floor, is impossible in this mode. Likewise, placing blocks is impossible, and the commands, and  are unavailable. Some blocks allow right-click interactions (e.g. chests, beds, cake, and generally speaking, those blocks whose interactions do not change any block state), while others do not (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 block grid is approximately 180×180 in size, occupying the +X,+Z quadrant, although the barrier floor extends past the grid in all directions to the world border. Starting at 0,0, the blocks are arranged first in rows of 89 block states from north to south, then in 87 rows from west to east (with an additional partial row of 63 states), following first the numerical data values of the blocks, then the block state names and values in alphanumeric order. There are a total of 7806 block states.

Issues
Note that any bugs relating to using other game modes than spectator are resolved as invalid due to the fact that the world type can only be legitimately accessed in spectator.

Trivia

 * The biome is plains (except when in the Nether or the End).
 * The sun is displayed as if it were the beginning of day (time 1000), but there is no day/night cycle. The daytime can be adjusted, and the day/night cycle can be toggled as usual using console commands. The time can be advanced to sunrise by using a bed.
 * In game modes which normally allow blocks to be broken, if the player attempts to break a block, all the usual signs will occur – the player's arm swings, cracks appear, and block-breaking particles spill out – except that the block remains unbroken.
 * Water and lava cannot be collected by buckets in this mode.
 * Cauldrons will not fill bottles, but will clean leather armor and banners.
 * Either TNT block will drop a primed TNT when activated by flint and steel.
 * Rails and minecarts operate as usual.
 * Certain doors, glass panes and iron bars have incorrect hitboxes.
 * Breaking a sign, a chest or an ender chest will make it invisible, but will preserve all other interactions. Similarly, breaking the enchanting table will render the book invisible, and breaking the mob spawner will cause the pig and its fire particles to disappear.  The banners are invisible to begin with.
 * Activating a button or lever will cause it to drop one of itself as a resource. Activating a pressure plate will cause it to generate enormous quantities of dropped plates, make weird noises, and likely crash the game.
 * Activating a comparator in subtract mode, a lever or an unpowered button will also cause resources to briefly drop from the block adjacent, in the direction opposite its  property.  If that adjacent block is a repeater or a comparator, it will drop 36 stacks of itself at once.  Otherwise, that block only drops one of itself.
 * By traveling through the end portal the sky will be dark, like the End, but it does not generate the 'normal' End, it generates a 'Debug-world-end' (see picture below in gallery)

Gallery
Debug-Modus Режим отладки 调试模式