ClientCommands

模组

· 作者 Malaclord

各种以命令形式提供的客户端工具。

0 本站下载 0 关注 更新于 2 个月前

需要前置:Fabric API

最新 0.7.5+26.2 · 26.2 · Fabric

一键开服(送7天)

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

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源