Skip to main content
MC COMMANDS logoMC COMMANDS
Command Reference

Minecraft /datapack Command

developerJava Only

Manages the server's loaded data packs, allowing creators to dynamically enable, disable, and order them.

Version Compatibility

Java Edition:1.21.4 (1.13+)

Command Syntax

Java Edition/datapack enable <name> [first|last|before|after] | /datapack disable <name> | /datapack list

Arguments Explained

Practical Examples

/datapack list

Lists all available data packs and their load statuses.

/datapack enable "file/custom_mechanics" first

Enables the custom_mechanics pack and places it at the highest priority.

Advertisement

Important Notes

Allows server developers to hot-swap custom gameplay rules, item components, advancements, and world-generation tweaks.

Advertisement