DatapackJava

/datapack

Manage installed datapacks.

What is /datapack used for?

What /datapack is for

Enables, disables, and lists the data packs loaded in a world, and controls their load order.

When to use /datapack

Turn a newly dropped pack on without leaving the world, disable a misbehaving one, or check exactly which packs are active and in what priority.

Tips for /datapack

/datapack list shows available and enabled packs. After adding pack files to the world's datapacks folder, run /reload (or /datapack enable) to pick them up.

Syntax

Parameters

action
literal
enable / disable / list.
nameoptional
string
Pack name (with file extension).

Command builder

Configure the options below to generate a ready-to-paste /datapack command.

Folder/zip name inside the world's datapacks/.

Examples

  • Show enabled + available datapacks.

  • Enable a datapack.

Permission level

/datapack requires Cheats (op level 2). In single-player you need the world's "Allow Cheats" toggle on. On a multiplayer server you need to be opped — see /op.