90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
JSON to Brigadier - Minecraft
This library converts JSON files into Minecraft Commands
See json-to-brigadier for the API specifications.
Command types
No argument types
These commands are all specified with
"argument":{
"type" : "<TYPE_HERE>"
}
"game_profile"
"block_pos"
"column_pos"
"block_state"
"block_predicate"
"item_stack"
"item_predicate"
"color"
"component"
"message"
"nbt_compound_tag"
"nbt_path"
"nbt_tag"
"objective"
"objective_criteria"
"operation"
"particle"
"angle"
"rotation"
"scoreboard_slot"
"swizzle"
"team"
"item_slot"
"resource_location"
"mob_effect"
"function"
"entity_anchor"
"int_range"
"float_range"
"item_enchantment"
"entity_summon"
"dimension"
"time"
"uuid"
minecraft:vec3
and minecraft:vec2
:
"argument":{
"type" : "<TYPE_HERE>",
"centered": <true|false>
}
minecraft:score_holder
and minecraft:entity
:
"argument":{
"type" : "<TYPE_HERE>",
"multiple": <true|false>
}
Details
Licensed MIT
Published 4 years ago
Updated 4 years ago