跳到主要内容

mobs.yml 全部栏位

写法和套用顺序见 mobs.yml 怎么写。这页是查表用的。

一条规则能写的​

栏位别名说明
health-barstyle、healthbar、bar样式名称;none 或 false 表示不显示
enableenabledfalse 不显示;true 会盖掉上一层的 none
showtriggers显示时机列表:damage look near always,也可以写成一行 "damage, near"
durationdamage、look 触发后显示几 tick
near-radiusnear 的距离(格)
height再往上几格,负数往下
scale大小倍率
name改显示的名字,{name} 是原本的名字
model-height头顶离脚底几格,通常只在 cloudmodel.models 里用

整条规则也可以只写一个值:样式名称、none、true、false。

文件结构​

怪物名字:
enable: true
health-bar: normal

mythicmobs:
enabled: true
default:
style: normal
triggers: [damage, look, near]
mobs:
"*boss*":
style: boss
triggers: [always]

vanilla:
enabled: false
default:
style: normal
triggers: [damage, look, near]
types:
WITHER:
style: boss
triggers: [always]

cloudmodel:
models:
dragon_king:
model-height: 6.5
  • 最上层除了 mythicmobs、vanilla、cloudmodel 以外的键,都是一只一只写的怪物规则。名字可以用 *、? 通配(只对 MythicMobs 怪物有效)。
  • mythicmobs.enabled:false 时没被写到的 MythicMobs 怪物不显示。
  • vanilla.enabled:false 时没被写到的原版生物不显示。
  • cloudmodel.models 的键是 CloudModel 模型 ID。

没写时的值​

样式 normal,时机 [damage, look],持续时间用 config.yml 的 triggers.duration,高度 0,大小 1。默认的 mobs.yml 已经把 default 写成 [damage, look, near]。

检查​

开服和 /chb reload 时会检查不认识的显示时机和不存在的样式,在后台写出位置和怎么改。

0:000:00