Описание
# ClientCommands
Adds a couple client utilities in the form of commands.
## Curent tools
All commands are subcommands of `/client`
|Command|Description|Example|
|---|---|---|
|`give [amount]`|**Creative only** (alias: `/cive`)Gives the player any itemstack, with any NBT. Vanilla syntax.|`give apple{display:{Name:'{"text":"abc"}'}} 1`|
|`rename [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 `|Same as above, but accepts any valid text component(s).|`rename json {"text":"Cool Sword","color":"gold"}`|
|`enchant add `|**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 `|**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 [] [infinite\|] []`|**Creative only**Creates potion item of type (normal/splash/linger) with specified effect.|`potion create linger minecraft:blindness 0 infinite`|
|`potion modify color (\|hex) []`|**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 (infinite\|) []`|**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 `|**Creative only**Completely removes potion effect from held potion.|`potion modify effect remove minecraft:haste`|
|`potion modify type `|**Creative only**Changes the potion's type (normal/splash/linger)|`potion modify type linger`|
|`modifier add `|**Creative only**Add attribute modifier to held item.|`modifier add minecraft:generic.armor_toughness add_multiplied_base 2 armor`|
|`modifier remove `|**Creative only**Remove attribute modifier from held item.|`modifier remove bae7d9d5-6221-45e3-9d14-4956229557f2`|
|`modifier modify `|**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