Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
JSON to Brigadier Minecraft

JSON to Brigadier Minecraft

Converts JSON files into Brigadier commands

314
2
Library
AboutChangelogVersions

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>
}

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.17

Platforms

Fabric

Supported environments

Server-side
Client and server (optional)

Links

Report issues View source Join Discord server
Donate on Patreon

Creators

OroArmor
OroArmor Owner

Details

Licensed MIT
Published 4 years ago
Updated 4 years ago

Modrinth is open source.

main@9fd0f68

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.