- 客户端ModLoader以及版本
- ArcartX-Fabric-1.21.1-2.10.100
- 服务端核心版本
- paper-1.21.1

# 全息数据
width: 350
height: 35
action:
open: |-
var.alpha = Lerp(0,1,1000)
var.x=0
var.y=-20
element:
bar:
type: "texture"
attribute:
y: 25+var.y
x: 95+var.x
width: 156
height: 26
alpha: var.alpha
path: "0,0,0,100"
1_bar:
type: "texture"
attribute:
y: 30+var.y
x: 101+var.x
width: "144 * val.health / val.maxHealth"
height: 16
alpha: var.alpha
path: "255,0,0"
名字:
type: text
attribute:
texts: val.name.replaceAll('§.', '').replace('[小怪]', '')
fontSize: 30
y: 5+var.y
x: 174+var.x
center: true
alpha: var.alpha
血量:
type: text
attribute:
texts: ~§l{val.health.round()}/ {val.maxHealth.round()}
center: true
fontSize: 30
y: 30+var.y
x: 174+var.x
alpha: var.alpha
不知道为什么血量文字被覆盖,调换组件层级无效