Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

A "node" is an element that looks like this:

{
    "type": "root|literal|argument",
    "parser": "", // only applicable if type is argument
    "properties": {}, // only applicable if type is argument, defaults to empty object
    "executable": true, // default if not specified is false, meaning it isn't a runnable command by itself
    "children": {}, // default if not specified is {}, meaning no children
    "redirect": [] // default if not specified is null, meaning no redirect
}

A redirect is a path to another node in the tree. ["foo", "bar", "baz"] means "find the child named foo of the root, then the child of that named bar, then the child of that named baz".

Every element of children is another node, which itself may have more children.

A literal type means "I expect the literal name of this node", and has no properties.

An argument type means it's dynamically parsed, using parser (and any optional properties)

{
"type": "root",
"children": {
"advancement": {
"type": "literal",
"children": {
"grant": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"everything": {
"type": "literal",
"executable": true
},
"from": {
"type": "literal",
"children": {
"advancement": {
"type": "argument",
"parser": "minecraft:resource_location",
"executable": true
}
}
},
"only": {
"type": "literal",
"children": {
"advancement": {
"type": "argument",
"parser": "minecraft:resource_location",
"children": {
"criterion": {
"type": "argument",
"parser": "brigadier:string",
"properties": {
"type": "word"
},
"executable": true
}
},
"executable": true
}
}
},
"through": {
"type": "literal",
"children": {
"advancement": {
"type": "argument",
"parser": "minecraft:resource_location",
"executable": true
}
}
},
"until": {
"type": "literal",
"children": {
"advancement": {
"type": "argument",
"parser": "minecraft:resource_location",
"executable": true
}
}
}
}
}
}
},
"revoke": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"everything": {
"type": "literal",
"executable": true
},
"from": {
"type": "literal",
"children": {
"advancement": {
"type": "argument",
"parser": "minecraft:resource_location",
"executable": true
}
}
},
"only": {
"type": "literal",
"children": {
"advancement": {
"type": "argument",
"parser": "minecraft:resource_location",
"children": {
"criterion": {
"type": "argument",
"parser": "brigadier:string",
"properties": {
"type": "word"
},
"executable": true
}
},
"executable": true
}
}
},
"through": {
"type": "literal",
"children": {
"advancement": {
"type": "argument",
"parser": "minecraft:resource_location",
"executable": true
}
}
},
"until": {
"type": "literal",
"children": {
"advancement": {
"type": "argument",
"parser": "minecraft:resource_location",
"executable": true
}
}
}
}
}
}
}
}
},
"ban": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:game_profile",
"children": {
"reason": {
"type": "argument",
"parser": "minecraft:message",
"executable": true
}
},
"executable": true
}
}
},
"ban-ip": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "brigadier:string",
"properties": {
"type": "word"
},
"children": {
"reason": {
"type": "argument",
"parser": "minecraft:message",
"executable": true
}
},
"executable": true
}
}
},
"banlist": {
"type": "literal",
"children": {
"ips": {
"type": "literal",
"executable": true
},
"players": {
"type": "literal",
"executable": true
}
},
"executable": true
},
"blockdata": {
"type": "literal",
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"nbt": {
"type": "argument",
"parser": "minecraft:nbt",
"executable": true
}
},
"executable": true
}
}
},
"clear": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"item": {
"type": "argument",
"parser": "minecraft:item",
"children": {
"maxCount": {
"type": "argument",
"parser": "brigadier:integer",
"properties": {
"min": 0
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
},
"clone": {
"type": "literal",
"children": {
"begin": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"end": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"destination": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"filtered": {
"type": "literal",
"children": {
"filter": {
"type": "argument",
"parser": "minecraft:block",
"children": {
"force": {
"type": "literal",
"executable": true
},
"move": {
"type": "literal",
"executable": true
},
"normal": {
"type": "literal",
"executable": true
}
},
"executable": true
}
}
},
"masked": {
"type": "literal",
"children": {
"force": {
"type": "literal",
"executable": true
},
"move": {
"type": "literal",
"executable": true
},
"normal": {
"type": "literal",
"executable": true
}
},
"executable": true
},
"replace": {
"type": "literal",
"children": {
"force": {
"type": "literal",
"executable": true
},
"move": {
"type": "literal",
"executable": true
},
"normal": {
"type": "literal",
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
}
}
}
}
},
"data": {
"type": "literal",
"children": {
"get": {
"type": "literal",
"children": {
"block": {
"type": "literal",
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"path": {
"type": "argument",
"parser": "minecraft:nbt_path",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
},
"entity": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "single",
"type": "entities"
},
"children": {
"path": {
"type": "argument",
"parser": "minecraft:nbt_path",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
}
}
},
"merge": {
"type": "literal",
"children": {
"block": {
"type": "literal",
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"nbt": {
"type": "argument",
"parser": "minecraft:nbt",
"executable": true
}
}
}
}
},
"entity": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "single",
"type": "entities"
},
"children": {
"nbt": {
"type": "argument",
"parser": "minecraft:nbt",
"executable": true
}
}
}
}
}
}
},
"remove": {
"type": "literal",
"children": {
"block": {
"type": "literal",
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"path": {
"type": "argument",
"parser": "minecraft:nbt_path",
"executable": true
}
}
}
}
},
"entity": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "single",
"type": "entities"
},
"children": {
"path": {
"type": "argument",
"parser": "minecraft:nbt_path",
"executable": true
}
}
}
}
}
}
}
}
},
"datapack": {
"type": "literal",
"children": {
"disable": {
"type": "literal",
"children": {
"name": {
"type": "argument",
"parser": "brigadier:string",
"properties": {
"type": "phrase"
},
"executable": true
}
}
},
"enable": {
"type": "literal",
"children": {
"name": {
"type": "argument",
"parser": "brigadier:string",
"properties": {
"type": "phrase"
},
"children": {
"after": {
"type": "literal",
"children": {
"existing": {
"type": "argument",
"parser": "brigadier:string",
"properties": {
"type": "phrase"
},
"executable": true
}
}
},
"before": {
"type": "literal",
"children": {
"existing": {
"type": "argument",
"parser": "brigadier:string",
"properties": {
"type": "phrase"
},
"executable": true
}
}
},
"first": {
"type": "literal",
"executable": true
},
"last": {
"type": "literal",
"executable": true
}
},
"executable": true
}
}
},
"list": {
"type": "literal",
"children": {
"available": {
"type": "literal",
"executable": true
},
"enabled": {
"type": "literal",
"executable": true
}
},
"executable": true
}
}
},
"debug": {
"type": "literal",
"children": {
"start": {
"type": "literal",
"executable": true
},
"stop": {
"type": "literal",
"executable": true
}
}
},
"defaultgamemode": {
"type": "literal",
"children": {
"adventure": {
"type": "literal",
"executable": true
},
"creative": {
"type": "literal",
"executable": true
},
"spectator": {
"type": "literal",
"executable": true
},
"survival": {
"type": "literal",
"executable": true
}
}
},
"deop": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:game_profile",
"executable": true
}
}
},
"difficulty": {
"type": "literal",
"children": {
"easy": {
"type": "literal",
"executable": true
},
"hard": {
"type": "literal",
"executable": true
},
"normal": {
"type": "literal",
"executable": true
},
"peaceful": {
"type": "literal",
"executable": true
}
},
"executable": true
},
"effect": {
"type": "literal",
"children": {
"clear": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "entities"
},
"children": {
"effect": {
"type": "argument",
"parser": "minecraft:mob_effect",
"executable": true
}
},
"executable": true
}
}
},
"give": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "entities"
},
"children": {
"effect": {
"type": "argument",
"parser": "minecraft:mob_effect",
"children": {
"seconds": {
"type": "argument",
"parser": "brigadier:integer",
"properties": {
"min": 1,
"max": 1000000
},
"children": {
"amplifier": {
"type": "argument",
"parser": "brigadier:integer",
"properties": {
"min": 0,
"max": 255
},
"children": {
"hideParticles": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
}
}
}
}
},
"execute": {
"type": "literal",
"children": {
"align": {
"type": "literal",
"children": {
"axes": {
"type": "argument",
"parser": "minecraft:swizzle",
"redirect": [
"execute"
]
}
}
},
"as": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "entities"
},
"redirect": [
"execute"
]
}
}
},
"at": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "entities"
},
"redirect": [
"execute"
]
}
}
},
"if": {
"type": "literal",
"children": {
"block": {
"type": "literal",
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"block": {
"type": "argument",
"parser": "minecraft:block",
"redirect": [
"execute"
]
}
}
}
}
},
"blocks": {
"type": "literal",
"children": {
"start": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"end": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"destination": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"all": {
"type": "literal",
"executable": true,
"redirect": [
"execute"
]
},
"masked": {
"type": "literal",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
}
}
}
}
},
"entity": {
"type": "literal",
"children": {
"entities": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "entities"
},
"executable": true,
"redirect": [
"execute"
]
}
}
},
"score": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"targetObjective": {
"type": "argument",
"parser": "minecraft:objective",
"children": {
"<": {
"type": "literal",
"children": {
"source": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"sourceObjective": {
"type": "argument",
"parser": "minecraft:objective",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
},
"<=": {
"type": "literal",
"children": {
"source": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"sourceObjective": {
"type": "argument",
"parser": "minecraft:objective",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
},
"=": {
"type": "literal",
"children": {
"source": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"sourceObjective": {
"type": "argument",
"parser": "minecraft:objective",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
},
">": {
"type": "literal",
"children": {
"source": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"sourceObjective": {
"type": "argument",
"parser": "minecraft:objective",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
},
">=": {
"type": "literal",
"children": {
"source": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"sourceObjective": {
"type": "argument",
"parser": "minecraft:objective",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
}
}
}
}
}
}
}
}
},
"offset": {
"type": "literal",
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:vec3",
"redirect": [
"execute"
]
}
}
},
"run": {
"type": "literal"
},
"store": {
"type": "literal",
"children": {
"result": {
"type": "literal",
"children": {
"block": {
"type": "literal",
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"path": {
"type": "argument",
"parser": "minecraft:nbt_path",
"children": {
"byte": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"double": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"float": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"int": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"long": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"short": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
}
}
}
}
}
}
},
"entity": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "single",
"type": "entities"
},
"children": {
"path": {
"type": "argument",
"parser": "minecraft:nbt_path",
"children": {
"byte": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"double": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"float": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"int": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"long": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"short": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
}
}
}
}
}
}
},
"score": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "multiple"
},
"children": {
"objective": {
"type": "argument",
"parser": "minecraft:objective",
"redirect": [
"execute"
]
}
}
}
}
}
}
},
"success": {
"type": "literal",
"children": {
"block": {
"type": "literal",
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"path": {
"type": "argument",
"parser": "minecraft:nbt_path",
"children": {
"byte": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"double": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"float": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"int": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"long": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"short": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
}
}
}
}
}
}
},
"entity": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "single",
"type": "entities"
},
"children": {
"path": {
"type": "argument",
"parser": "minecraft:nbt_path",
"children": {
"byte": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"double": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"float": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"int": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"long": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
},
"short": {
"type": "literal",
"children": {
"scale": {
"type": "argument",
"parser": "brigadier:float",
"redirect": [
"execute"
]
}
}
}
}
}
}
}
}
},
"score": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "multiple"
},
"children": {
"objective": {
"type": "argument",
"parser": "minecraft:objective",
"redirect": [
"execute"
]
}
}
}
}
}
}
}
}
},
"unless": {
"type": "literal",
"children": {
"block": {
"type": "literal",
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"block": {
"type": "argument",
"parser": "minecraft:block",
"redirect": [
"execute"
]
}
}
}
}
},
"blocks": {
"type": "literal",
"children": {
"start": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"end": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"destination": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"all": {
"type": "literal",
"executable": true,
"redirect": [
"execute"
]
},
"masked": {
"type": "literal",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
}
}
}
}
},
"entity": {
"type": "literal",
"children": {
"entities": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "entities"
},
"executable": true,
"redirect": [
"execute"
]
}
}
},
"score": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"targetObjective": {
"type": "argument",
"parser": "minecraft:objective",
"children": {
"<": {
"type": "literal",
"children": {
"source": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"sourceObjective": {
"type": "argument",
"parser": "minecraft:objective",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
},
"<=": {
"type": "literal",
"children": {
"source": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"sourceObjective": {
"type": "argument",
"parser": "minecraft:objective",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
},
"=": {
"type": "literal",
"children": {
"source": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"sourceObjective": {
"type": "argument",
"parser": "minecraft:objective",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
},
">": {
"type": "literal",
"children": {
"source": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"sourceObjective": {
"type": "argument",
"parser": "minecraft:objective",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
},
">=": {
"type": "literal",
"children": {
"source": {
"type": "argument",
"parser": "minecraft:score_holder",
"properties": {
"has_wildcard": false,
"amount": "single"
},
"children": {
"sourceObjective": {
"type": "argument",
"parser": "minecraft:objective",
"executable": true,
"redirect": [
"execute"
]
}
}
}
}
}
}
}
}
}
}
}
}
}
}
},
"experience": {
"type": "literal",
"children": {
"add": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"amount": {
"type": "argument",
"parser": "brigadier:integer",
"children": {
"levels": {
"type": "literal",
"executable": true
},
"points": {
"type": "literal",
"executable": true
}
},
"executable": true
}
}
}
}
},
"query": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "single",
"type": "players"
},
"children": {
"levels": {
"type": "literal",
"executable": true
},
"points": {
"type": "literal",
"executable": true
}
}
}
}
},
"set": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"amount": {
"type": "argument",
"parser": "brigadier:integer",
"properties": {
"min": 0
},
"children": {
"levels": {
"type": "literal",
"executable": true
},
"points": {
"type": "literal",
"executable": true
}
},
"executable": true
}
}
}
}
}
}
},
"fill": {
"type": "literal",
"children": {
"from": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"to": {
"type": "argument",
"parser": "minecraft:block_pos",
"children": {
"block": {
"type": "argument",
"parser": "minecraft:block",
"children": {
"destroy": {
"type": "literal",
"executable": true
},
"hollow": {
"type": "literal",
"executable": true
},
"keep": {
"type": "literal",
"executable": true
},
"outline": {
"type": "literal",
"executable": true
},
"replace": {
"type": "literal",
"children": {
"filter": {
"type": "argument",
"parser": "minecraft:block",
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
}
}
}
}
},
"function": {
"type": "literal",
"children": {
"name": {
"type": "argument",
"parser": "minecraft:resource_location",
"executable": true
}
}
},
"gamemode": {
"type": "literal",
"children": {
"adventure": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"executable": true
}
},
"executable": true
},
"creative": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"executable": true
}
},
"executable": true
},
"spectator": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"executable": true
}
},
"executable": true
},
"survival": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"executable": true
}
},
"executable": true
}
}
},
"gamerule": {
"type": "literal",
"children": {
"announceAdvancements": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"commandBlockOutput": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"disableElytraMovementCheck": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"doDaylightCycle": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"doEntityDrops": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"doFireTick": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"doLimitedCrafting": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"doMobLoot": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"doMobSpawning": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"doTileDrops": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"doWeatherCycle": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"gameLoopFunction": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "minecraft:resource_location",
"executable": true
}
},
"executable": true
},
"keepInventory": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"logAdminCommands": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"maxCommandChainLength": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:integer",
"executable": true
}
},
"executable": true
},
"maxEntityCramming": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:integer",
"executable": true
}
},
"executable": true
},
"mobGriefing": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"naturalRegeneration": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"randomTickSpeed": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:integer",
"executable": true
}
},
"executable": true
},
"reducedDebugInfo": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"sendCommandFeedback": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"showDeathMessages": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
},
"spawnRadius": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:integer",
"executable": true
}
},
"executable": true
},
"spectatorsGenerateChunks": {
"type": "literal",
"children": {
"value": {
"type": "argument",
"parser": "brigadier:bool",
"executable": true
}
},
"executable": true
}
}
},
"give": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"item": {
"type": "argument",
"parser": "minecraft:item",
"children": {
"count": {
"type": "argument",
"parser": "brigadier:integer",
"properties": {
"min": 0
},
"executable": true
}
},
"executable": true
}
}
}
}
},
"help": {
"type": "literal",
"children": {
"command": {
"type": "argument",
"parser": "brigadier:string",
"properties": {
"type": "greedy"
},
"executable": true
}
},
"executable": true
},
"kick": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"reason": {
"type": "argument",
"parser": "minecraft:message",
"executable": true
}
},
"executable": true
}
}
},
"kill": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "entities"
},
"executable": true
}
}
},
"list": {
"type": "literal",
"executable": true
},
"locate": {
"type": "literal",
"children": {
"EndCity": {
"type": "literal",
"executable": true
},
"Fortress": {
"type": "literal",
"executable": true
},
"Mansion": {
"type": "literal",
"executable": true
},
"Mineshaft": {
"type": "literal",
"executable": true
},
"Monument": {
"type": "literal",
"executable": true
},
"Stronghold": {
"type": "literal",
"executable": true
},
"Temple": {
"type": "literal",
"executable": true
},
"Village": {
"type": "literal",
"executable": true
}
}
},
"me": {
"type": "literal",
"children": {
"action": {
"type": "argument",
"parser": "brigadier:string",
"properties": {
"type": "greedy"
},
"executable": true
}
}
},
"msg": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"message": {
"type": "argument",
"parser": "minecraft:message",
"executable": true
}
}
}
}
},
"op": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:game_profile",
"executable": true
}
}
},
"pardon": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:game_profile",
"executable": true
}
}
},
"pardon-ip": {
"type": "literal",
"children": {
"target": {
"type": "argument",
"parser": "brigadier:string",
"properties": {
"type": "word"
},
"executable": true
}
}
},
"particle": {
"type": "literal",
"children": {
"name": {
"type": "argument",
"parser": "minecraft:particle",
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:vec3",
"children": {
"delta": {
"type": "argument",
"parser": "minecraft:vec3",
"children": {
"speed": {
"type": "argument",
"parser": "brigadier:integer",
"properties": {
"min": 0
},
"children": {
"count": {
"type": "argument",
"parser": "brigadier:integer",
"properties": {
"min": 0
},
"children": {
"force": {
"type": "literal",
"children": {
"viewers": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"executable": true
}
},
"executable": true
},
"normal": {
"type": "literal",
"children": {
"viewers": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
}
}
}
}
}
},
"executable": true
}
}
},
"playsound": {
"type": "literal",
"children": {
"sound": {
"type": "argument",
"parser": "minecraft:resource_location",
"children": {
"ambient": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:vec3",
"children": {
"volume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0
},
"children": {
"pitch": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 2.0
},
"children": {
"minVolume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 1.0
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
},
"block": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:vec3",
"children": {
"volume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0
},
"children": {
"pitch": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 2.0
},
"children": {
"minVolume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 1.0
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
},
"hostile": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:vec3",
"children": {
"volume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0
},
"children": {
"pitch": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 2.0
},
"children": {
"minVolume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 1.0
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
},
"master": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:vec3",
"children": {
"volume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0
},
"children": {
"pitch": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 2.0
},
"children": {
"minVolume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 1.0
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
},
"music": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:vec3",
"children": {
"volume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0
},
"children": {
"pitch": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 2.0
},
"children": {
"minVolume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 1.0
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
},
"executable": true
}
}
},
"neutral": {
"type": "literal",
"children": {
"targets": {
"type": "argument",
"parser": "minecraft:entity",
"properties": {
"amount": "multiple",
"type": "players"
},
"children": {
"pos": {
"type": "argument",
"parser": "minecraft:vec3",
"children": {
"volume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0
},
"children": {
"pitch": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 2.0
},
"children": {
"minVolume": {
"type": "argument",
"parser": "brigadier:float",
"properties": {
"min": 0.0,
"max": 1.0