Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Java developer tools

From SAS Gaming Wiki

Template:Exclusive

Developer tools are tools used by Minecraft:Mojang Studios developers to develop new features and debug glitches.

Accessible to players

A number of debug tools are available during normal gameplay:

Accessible through debug properties

Template:Main Using special JVM properties (command line arguments when starting the game) many additional debug features can be enabled:

Accessible only through mods

Some features, while part of the code, can only be enabled using Minecraft:mods.

In most cases, mods can achieve this by overriding the IS_RUNNING_IN_IDE flag in the SharedConstants class.

Test Worlds

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.Template:More info 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 Minecraft:game rules.<ref>Template:Ytl</ref>

File:Create test world.png
Superflat Preset
minecraft:bedrock,3*minecraft:stone,116*minecraft:sandstone;minecraft:desert
Game rules
advance_time
false
spawn_mobs
false
advance_weather
false

GameTest Exports

The GameTest feature contains a hidden functionality that allows users to export data to an SNBT file.<ref>Template:Ytl</ref>Template:More info needed

Sub-commands

The following sub-commands are available on both singleplayer and multiplayer:

• /test export

• /test exportclosest

• /test exportthese

• /test exportthat

Test Instance Blocks

If the functionality is enabled, the "Export Structure" option will appear in the GUI for the Test Instance Block.

File:Test instance block UI export.png
SNBT Files

Structure data that has been exported to an SNBT file is able to be loaded across different worlds. This can be done using a Structure Block or the "/place" command.

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

History

Template:Empty section

Videos

In the video below, a YouTuber named EightSidedSquare showcased most of the developer tools before they were made available with debug properties.

Template:YT

Navigation

Template:Navbox Java Edition technical

Minecraft:pt:Ferramentas para desenvolvedores Java