GermChatPop
GermChatPop简介
GermChatPop 是萌芽引擎的免费附属插件,它为玩家提供了在头顶展示的聊天气泡。
使用须知
指令详解
指令 | 用法 |
---|---|
/gcp reload | 重载插件 |
配置文件
Config.yml
animation:
气泡消失:
type: 2
delay: 66
cycle: 1
permanent: true
duration: 120
from: 1
to: 0.0
气泡涨破:
type: 3
delay: 65
cycle: -1
permanent: true
duration: 100
from: 1
to: 1.6
气泡皱缩:
type: 3
delay: 0
cycle: 1
permanent: false
duration: 66
from: 1
to: 0.75
chatpop:
type: gui
#强制跟随玩家的yaw 默认为false
followYaw: true
#强制跟随玩家的pitch 默认为false 当followYaw和followPitch都打开的时候该effect会永远面向玩家
followPitch: false
#是否开启互动 比如按钮的点击 槽位的拖动之类的
interactive: true
#互动的部件与玩家的距离在五格子内才有效
interactiveDistance: 5
gui:
options:
openDos:
- "delay<->3000"
- "update<->thisGui@button@invalid@true"
- "update<->thisGui@button@animations@气泡消失$气泡皱缩$气泡涨破"
- "delay<->100"
- "open<->null"
texture:
enable: true
type: texture
path: "url<->https://z3.ax1x.com/2021/07/17/W16H9U.png"
locationX: "45"
locationY: "20"
width: "15"
height: "15"
button:
type: button
defaultPath: "url<->https://z3.ax1x.com/2021/07/17/W16ThT.png"
hoverPath: "url<->https://z3.ax1x.com/2021/07/17/W1cP3D.png"
hoverSound: "minecraft:ui.button.click"
clickSound: "minecraft:ui.button.click"
locationX: "-504*0.15"
locationY: "-128*0.15"
textOffsetZ: "-0.1"
textScale: "1.0"
splitWidth: "504*0.3-10"
hoverTextScale: "1.2"
width: "504*0.3"
height: "128*0.3"
clickDos:
- "update<->thisGui@thisPart@invalid@true"
- "update<->thisGui@thisPart@animations@气泡消失$气泡皱缩$气泡涨破"
- "message<->&7PAOPAO -> &c太坏了吧!干嘛戳我!"
- "delay<->100"
- "open<->null"
#缩放
scale: 1
#向X轴的偏移量
offsetX: "0"
#向Y轴的偏移量
offsetY: "3.4"
#向Z轴的偏移量
offsetZ: "0"