物品编辑
基础物品编辑
物品展示名编辑
主指令:
设定物品展示名: /oxeditor item display set
参数如下:
参数 | 必选 | 说明 |
---|---|---|
value | 是 | 待设定的物品展示名类型 |
示例: /oxeditor item display set value=我是展示名
物品Lore编辑
主指令:
添加物品Lore: /oxeditor item lore add
设置某行物品Lore: /oxeditor item lore set
移除某行物品Lore: /oxeditor item lore remove
参数如下:
参数 | 是否必选 | 说明 |
---|---|---|
line | set必选 | remove可选 | 待设定的物品Lore行数 |
value | add必选 | remove可选 | 待设定的物品Lore内容 |
示例: /oxeditor item lore set line=0 value=我是一行Lore
物品NBT编辑
主指令:
查看物品NBT: /oxeditor item nbt info
添加物品NBT: /oxeditor item nbt add
移除物品NBT: /oxeditor item nbt remove
参数如下:
参数 | 是否必选 | 说明 |
---|---|---|
key | 是 | 待设定的物品NBT键值 |
value | add必选 | 待设定的物品NBT内容 |
示例: /oxeditor item nbt add key=我是键值 value=我是对应的值
物品存储
主指令:
保存物品: /oxeditor item lib save
获取物品: /oxeditor item lib give
参数如下:
参数 | 是否必选 | 说明 |
---|---|---|
key | 是 | 物品Key值,用于分辨 |
target | 否 | 给予的目标,填玩家名 |
amount | 否 | 数量,填数字 |
slot | 否 | 该物品会在目标指定玩家背包的指定槽位出现 |
示例: /oxeditor item give key=example amount=5 slot=2
地图编辑
主指令:
保存物品: /oxeditor item map seturl
参数如下:
参数 | 是否必选 | 说明 |
---|---|---|
url | 是 | 图片URL |
示例: /oxeditor item map seturl url=https://img.picui.cn/free/2024/09/11/66e19b7d9ad32.png
药水编辑
主指令:
添加药水: /oxeditor item potion add
移除药水: /oxeditor item potion remove
设定药水: /oxeditor item potion set
参数如下:
参数 | 是否必选 | 说明 |
---|---|---|
type | 是 | 药水类型名称 |
duration | 否 | 药水持续时长 |
amplifier | 否 | 药水等级 |
示例: /oxeditor item potion add type=HEAL duration=1800 amplifier=3
Last updated