物品编辑

基础物品编辑

  1. 物品展示名编辑

主指令:

设定物品展示名: /oxeditor item display set

参数如下:

参数必选说明

value

待设定的物品展示名类型

示例: /oxeditor item display set value=我是展示名

  1. 物品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

  1. 物品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=我是对应的值

  1. 物品存储

主指令:

保存物品: /oxeditor item lib save

获取物品: /oxeditor item lib give

参数如下:

参数是否必选说明

key

物品Key值,用于分辨

target

给予的目标,填玩家名

amount

数量,填数字

slot

该物品会在目标指定玩家背包的指定槽位出现

示例: /oxeditor item give key=example amount=5 slot=2

  1. 地图编辑

主指令:

保存物品: /oxeditor item map seturl

参数如下:

参数是否必选说明

url

图片URL

示例: /oxeditor item map seturl url=https://img.picui.cn/free/2024/09/11/66e19b7d9ad32.png

  1. 药水编辑

主指令:

添加药水: /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