![]() |
VOOZH | about |
Developer tools are tools used by Mojang Studios developers to develop new features and debug glitches.
A number of debug tools are available during normal gameplay:
Using special JVM properties (command line arguments when starting the game) many additional debug features can be enabled:
Some features, while part of the code, can only be enabled using mods.
In most cases, mods can achieve this by overriding the IS_RUNNING_IN_IDE flag in the SharedConstants class.
The "Create Test World" button on the title screen can be used to generate a superflat world that is designed to be used for testing.โ[more information needed] The world is set to allow commands and uses Creative as the default gamemode. It also disables the generation of structures, and changes some game rules.[1]
In Java Edition 26.2, the button was moved to right of the Singleplayer button and the label was changed to "TW".
minecraft:bedrock,3*minecraft:stone,116*minecraft:sandstone;minecraft:desertfalsefalsefalseThe GameTest feature contains a hidden functionality that allows users to export data to an SNBT file.[2]โ[more information needed]
The following sub-commands are available on both singleplayer and multiplayer:
โข /test export
โข /test exportclosest
โข /test exportthese
โข /test exportthat
If the functionality is enabled, the "Export Structure" option will appear in the GUI for the Test Instance Block.
Structure data that has been exported to an SNBT file is able to be loaded across different worlds. This can be done using the "/place" command or a Structure Block.
For example, to place a structure that has been exported to an SNBT file named "cookies", the following command can be used:
โข /place template minecraft:minecraft/structure/cookies
In the video below, a YouTuber named EightSidedSquare showcased most of the developer tools before they were made available with debug properties.