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
ClientCommands

ClientCommands

Various client-side utilities in command form.

2,212
8
Utility

Compatibility

Minecraft: Java Edition

1.21.x
1.20.5–1.20.6
1.20–1.20.2

Platforms

Fabric

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source
Donate on Ko-fi

Creators

Malaclord
Malaclord Owner

Details

Licensed MIT
Published last year
Updated 6 months ago
DescriptionChangelogVersions

ClientCommands

Adds a couple client utilities in the form of commands.

Curent tools

All commands are subcommands of /client

Command Description Example
give <item> [amount] Creative only (alias: /cive)
Gives the player any itemstack, with any NBT. Vanilla syntax.
give apple{display:{Name:'{"text":"abc"}'}} 1
rename <name> [customName] Creative only
Renames the item the player is currently holding. Simple syntax for quick renaming of items. Set customName to true to mimic anvil rename behavior.
rename "Cool Sword" false
rename json <name> Same as above, but accepts any valid text component(s). rename json {"text":"Cool Sword","color":"gold"}
enchant add <enchantment> <level> Creative only
Puts the desired enchantment on the player's currently held item. Does not have the limitations the vanilla command has.
enchant add minecraft:depth_strider 10
enchant clear Creative only
Clears all enchantments on held item.
enchant clear
enchant remove <enchantment> Creative only
Removes enchantment from player's currently held item.
enchant remove minecraft:depth_strider
modifier list Lists attribute modifiers on player's currently held item. modifier list
potion create <type> <effect> [<amplifier>] [infinite|<duration>] [<hideParticles>] Creative only
Creates potion item of type (normal/splash/linger) with specified effect.
potion create linger minecraft:blindness 0 infinite
potion modify color (<color>|hex) [<colorHex>] Creative only
Modify the color of the held potion to one of the 16 Minecraft colors or to a custom hexadecimal color
potion modify color hex ffaa00
potion modify effect set <effect> <amplifier> (infinite|<duration>) [<hideParticles>] Creative only
Set the details of a potion effect in the held potion.
potion modify effect set minecraft:glowing 0 100
potion modify effect remove <effect> Creative only
Completely removes potion effect from held potion.
potion modify effect remove minecraft:haste
potion modify type <type> Creative only
Changes the potion's type (normal/splash/linger)
potion modify type linger
modifier add <attribute> <operation> <value> <slot> Creative only
Add attribute modifier to held item.
modifier add minecraft:generic.armor_toughness add_multiplied_base 2 armor
modifier remove <uuid> Creative only
Remove attribute modifier from held item.
modifier remove bae7d9d5-6221-45e3-9d14-4956229557f2
modifier modify <uuid> <attribute|operation|value|slot|> <value> Creative only
Lists attribute modifiers on player's currently held item.
modifier modify bae7d9d5-6221-45e3-9d14-4956229557f2 slot hand
components set Creative Only
Set item components for held item.
components set [food={saturation:1,nutrition:10}]
components merge Creative only
Merge item components into held item.
components merge [unbreakable={}]
components get Get item components of held item. components get

Additional features

  • Long (32K) character limit on chat messages

Translators

  • Latvian: @Foxytisy

Modrinth is open source.

main@396f737

© 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.