Minecraft:Debug mode
More actions
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
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
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 doDaylightCycle 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
-
The entire grid as seen from above. East is up.
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
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
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:
- Minecraft:Water and Minecraft:lava cannot be removed by Minecraft:buckets, but still fills an empty bucket in Minecraft:Survival mode. If the player empties the bucket, the lava or water blocks turn invisible.
- Minecraft:Bells can still be rung.
- Minecraft:Cauldrons clean leather Minecraft:armor and Minecraft:banners, but cannot be filled by buckets.
- Flying through a Minecraft:pressure plate with powered stated false, or a Minecraft:weighted pressure plate with power state 0, causes it to produce the pressure plate clicking sound every tick it is pressed.
- Template:Control a Minecraft:comparator in subtract mode causes the block in the direction opposite its
facingproperty to drop as an item.- Warning: If that block is a repeater or a comparator, it drops an enormous amount of itself (typically around Template:ItemAmount to Template:ItemAmount), lagging the game for a few seconds, and likely crashing the game on low-end PCs.
- Any summoned Minecraft:falling block drops as an item when it hits another block, rather than converting itself to a block.
- Template:Control Minecraft:fence gates, Minecraft:comparators, deactivated Minecraft:buttons, Minecraft:levers, deactivated Minecraft:pressure plates, Minecraft:doors, or Minecraft:trapdoors does not move or change the block, but the sound still plays.
- Using a music disc on an empty jukebox does not change its block state but still plays the music normally.
- Template:Control with a Minecraft:chiseled bookshelf that has a book does not give you a book.
- Minecraft:Copper golem statues can still cycled upon by Template:Control with it but it will only visually change to its next state before being updated and reset by clicking it again.
History
-
Debug world in version Minecraft:14w26b
-
Large overview (14w26b)
-
Grid overview (14w26b)
-
Low block ID overview (Minecraft:14w27b)
-
Debug world in version Minecraft:14w32d
-
Grid overview (14w27b)
Issues
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
-
First image of debug mode.
-
Redstone and oak stairs in debug mode.
-
Minecraft:Barrier Minecraft:blocks in debug mode.
-
Items dropped by Minecraft:Redstone Comparator crashed the game.
-
Triggering Minecraft:sculk sensors Minecraft:sculk shriekers in debug mode.
References
Template:Navbox Debug mode grid
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:调试模式