Skip to content

Malaclord/ClientCommands

Repository files navigation

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

Planned tools / features

  • Give
  • Rename
  • Enchant
  • Modifiers
  • Playerhead
  • Potions
  • Longer NBT length (long chat limit)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages