ClientCommands
添加了一些以命令形式呈现的客户端实用工具。
当前工具
所有命令均为 /client 的子命令
| 命令 | 描述 | 示例 |
|---|---|---|
give <item> [amount] |
仅限创造模式(别名:/cive)给予玩家任意物品堆栈,支持任意 NBT 标签。使用原版语法。 |
give apple{display:{Name:'{"text":"abc"}'}} 1 |
rename <name> [customName] |
仅限创造模式 重命名玩家当前手持的物品。提供简单的语法以便快速重命名物品。将 customName 设置为 true 以模拟铁砧重命名的行为。 |
rename "Cool Sword" false |
rename json <name> |
与上述相同,但接受任何有效的文本组件。 | rename json {"text":"Cool Sword","color":"gold"} |
enchant add <enchantment> <level> |
仅限创造模式 为玩家当前手持的物品添加指定的附魔。不受原版命令的限制。 |
enchant add minecraft:depth_strider 10 |
enchant clear |
仅限创造模式 清除手持物品上的所有附魔。 |
enchant clear |
enchant remove <enchantment> |
仅限创造模式 移除玩家当前手持物品上的指定附魔。 |
enchant remove minecraft:depth_strider |
modifier list |
列出玩家当前手持物品的属性修饰符。 | modifier list |
potion create <type> <effect> [<amplifier>] [infinite|<duration>] [<hideParticles>] |
仅限创造模式 创建指定类型的药水物品(普通/喷溅型/滞留型),并带有指定的效果。 |
potion create linger minecraft:blindness 0 infinite |
|potion modify color (<color>\|hex) [<colorHex>]|仅创造模式
将手中药水的颜色修改为 16 种 Minecraft 标准颜色之一,或自定义十六进制颜色。|potion modify color hex ffaa00|
|potion modify effect set <effect> <amplifier> (infinite\|<duration>) [<hideParticles>]|仅创造模式
设置手中药水效果的各项详情。|potion modify effect set minecraft:glowing 0 100|
|potion modify effect remove <effect>|仅创造模式
从手中药水中完全移除指定效果。|potion modify effect remove minecraft:haste|
|potion modify type <type>|仅创造模式
更改药水类型(普通/喷溅型/滞留型)。|potion modify type linger|
|modifier add <attribute> <operation> <value> <slot>|仅创造模式
向手中物品添加属性修饰符。|modifier add minecraft:generic.armor_toughness add_multiplied_base 2 armor|
|modifier remove <uuid>|仅创造模式
从手中物品移除属性修饰符。|modifier remove bae7d9d5-6221-45e3-9d14-4956229557f2|
|modifier modify <uuid> <attribute\|operation\|value\|slot\|> <value>|仅创造模式
列出玩家当前手中物品的属性修饰符。|modifier modify bae7d9d5-6221-45e3-9d14-4956229557f2 slot hand|
|components set|仅创造模式
设置手中物品的组件。|components set [food={saturation:1,nutrition:10}]|
|components merge|仅创造模式
将组件合并到手中物品中。|components merge [unbreakable={}]|
|components get|获取手中物品的组件信息。|components get|
其他特性
- 聊天消息支持长文本(32K)字符限制
翻译人员
- 拉脱维亚语:@Foxytisy
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
下载 ClientCommands
下载 ClientCommands
下载 ClientCommands
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ClientCommands
下载 ClientCommands
下载 ClientCommands
下载 ClientCommands
下载 ClientCommands
下载 ClientCommands
下载 ClientCommands
更新以支持 26.2
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
模组
添加全屏世界地图,显示你在世界中已探索的区域。与 Xaero's Minimap 搭配使用效果极佳。
评论 0
登录后参与评分
还没有评论,来抢沙发吧