全息
示例
# 全息图位置
Location: world~0,83,24
# (可选) 全息图选项
Options:
# 默认间距(可通过 Offset 属性自定义单行间距)
Line-Spacing: 0.25
# 可视距离
View-Distance: 10
# 可视条件(Kether 语法)
View-Condition: 'perm *trhologram.access'
# 可视条件刷新周期 (ticks)
Refresh-Condition: 20
# 全息图内容
Contents:
- 'Hello &3Tr&bHologram'
- '{item=head:%player_name%}'
- ''
- '&7Date: &f%server_time_HH:mm:ss%{update:20}'
- '&7Name: &a%player_name%'
# (可选)交互处理器
Actions:
Left: 'tell color *"&3Hello, you left-clicked this hologram!"'
Shift_Left:
- 'tell color *"&7What''s up?"'
Right: [ '' ]
Shift_Right: [ '' ]
编辑
通过文本编辑器修改 YAML 文件
Last updated
Was this helpful?