Wiki 9Minecraft Wiki 9Minecraft
Data Api Data Pack Wiki › Guides › Toggling Developer Mode in Your World

Toggling Developer Mode in Your World

Running the Toggle Command

If you are testing dependent packs or need deeper feedback from the pack's systems, you can toggle developer mode using a dedicated command. Open chat and run:

/function gamerule:data_api/developer_mode

This function switches the developer mode state on or off. You will need standard cheat permissions or server operator status to run gamerule functions.

When to Use Developer Mode

Developer mode is intended to assist when setting up or troubleshooting data packs that use Data API as a backend. Turn this mode on when you are verifying custom mechanics—such as checking whether custom durability, custom enchantments, or entity targeting mechanics are behaving as expected. Once you have finished testing and your world is configured properly for normal gameplay, run the command again to switch developer mode back off.