猹の钓鱼
配置文件
yml
############################
# 插件验证 #
############################
apiKey: "请输入CDKey"
############################
# 系统设定 #
############################
# 攀爬按键
climb-key: "F"
# 开始爬行指令,可用于切换动作
cmd-start:
- "op:say 我开始爬了"
# 停止爬行指令,可用于切换动作
cmd-stop:
- "op:say 我停止爬了"
# 不能攀爬的黑名单方块类型
blacklist:
- "STONE"
# 体力单线条模式
single: false
############################
# 速度设定 #
############################
# 攀爬基础速度(注意,过慢的速度会导致无法爬升/过快的速度会将用户弹射出去)
speed: 0.15
# 不同方块的速度加成
speed-add:
# 原木块加成0.05,即在原木块上爬行速度为0.2
LOG: 0.05
# 玻璃块加成-0.1,即在玻璃块上爬行速度为0.05
GLASS: -0.1
############################
# 体力设定 #
############################
stamina:
# 体力上限
max: 100
# 攀爬时每tick消耗体力
consume: 0.05
# 每tick回复体力
regen: 1
# 是否奔跑时也消耗体力
run:
enable: true
# 奔跑时每tick消耗体力
consume: 0.05
# 是否跳跃时也消耗体力,跳跃是客户端机制不会因为体力耗尽而停止,但是会导致攀爬/奔跑停止
jump:
enable: true
# 跳跃时每下消耗体力
consume: 10
语言文件
yml
hud1-x: "w * 0.6 + h*0.1*(1-({stamina}-0.75*{max_stamina})/(0.25*{max_stamina}))"
hud1-width: "h*0.1*({stamina}-0.75*{max_stamina})/(0.25*{max_stamina})"
hud2-y: "h * 0.4 +w*0.01+h*0.1*方法.max(0,(1-({stamina}-0.5*{max_stamina})/(0.25*{max_stamina})))"
hud2-height: "h*0.1*方法.min(1,({stamina}-0.5*{max_stamina})/(0.25*{max_stamina}))"
hud3-width: "h*0.1*方法.min(1,({stamina}-0.25*{max_stamina})/(0.25*{max_stamina}))"
hud4-height: "h*0.1*方法.min(1,{stamina}/(0.25*{max_stamina}))"