Skip to content

Commit

Permalink
配置文件更改
Browse files Browse the repository at this point in the history
  • Loading branch information
Saukiya committed Oct 20, 2024
1 parent 9c5b8d2 commit 1fe7be9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/main/resources/Localization/zh/Item/Default/Default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@
#
#物品标签 NBT [Type:Map-?] (支持随机)
# 描述: 将NBT数据设置到物品NBT中,可输入/si nbt查看
# 转换类型示例: (只支持byte/short/int/long/float/double, 暂时不支持byte[]\int[]\long[])
# key1: "[int]<i:1_100>" # 将1-100的整数字符串转为int整数
# key2: "[double]<d:1_100>" # 将1-100的小数字符串转为double小数
# 转换类型示例: (只支持byte/short/int/long/float/double)
# key1: '[int]<i:1_100>' # 将1-100的整数字符串转为int整数
# key2: '[double]<d:1_100>' # 将1-100的小数字符串转为double小数
#
#堆叠组件: Components [Type:Map]
# 描述: 高度自定义物品 仅1.20.6+支持 (插件为1.21.1+)
Expand Down Expand Up @@ -218,8 +218,8 @@ Default-3:
- '&cu - &7UUID随机&r [<u:random>]'
- '&cj - &7脚本处理&r [<j:Default.itemScript#QAQ,QWQ,???,!!!>]'
- ''
- "&e局部变量调用全局变量请用 ~"
- "&c ~ &7在 yml 中表示 &4null"
- '&e局部变量调用全局变量请用 ~'
- '&c ~ &7在 yml 中表示 &4null'
- '&7覆盖全局变量结果-> <s:DefaultPrefix>'
- '&7全局和局部混合结果-> <s:DefaultLore>'
- ''
Expand All @@ -234,12 +234,12 @@ Default-3:
NBT:
# 转成对应的数据类型
StringConvert:
byte: "[byte]<s:-128:127>"
short: "[short]<s:-32768:32767>"
int: "[int]<s:-2147483648:2147483647>"
long: "[long]<s:-9223372036854775808:9223372036854775807>"
float: "[float]<d:-2333_2333>"
double: "[double]<d:-2333_2333>"
byte: '[byte]<s:-128:127>'
short: '[short]<s:-32768:32767>'
int: '[int]<s:-2147483648:2147483647>'
long: '[long]<s:-9223372036854775808:9223372036854775807>'
float: '[float]<d:-2333_2333>'
double: '[double]<d:-2333_2333>'

Default-4:
Type: Import
Expand Down

0 comments on commit 1fe7be9

Please sign in to comment.