mojira.dev
MC-267215

Macros allow you to bypass permission level in datapacks.

Create a function containing a macro such as this:

$$(command)

Now run the function with the command you want to execute:

function namespace:function {"command":"tick rate 1"}

The command you put in will execute & bypass permission level.

Linked issues

Comments 1

Duplicate of MC-266135, fixed in next snapshot.

user-fa061

(Unassigned)

Unconfirmed

(Unassigned)

1.20.4

Retrieved