冲刺跳跃

冲刺跳跃

简单为游戏添加了冲刺跳跃功能。

游戏玩法

冲刺跳跃Hytale 增加了一项干净轻量的二段跳跃能力,让玩家在不改变核心玩法的情况下,获得更自由流畅的移动体验。你可以在半空中再次跳跃,越过空隙、抵达更高的平台,以更动态的方式探索世界。

启用 / 禁用指令:/dashjump(默认启用)——需要 op /self 权限

绑定至能力2(Ability 2)。请在控制设置中将空格键设为能力2,或使用你偏好的任意按键。

必须装备武器。

冲刺跳跃 API(模组开发者)

将 DashJump .jar 文件添加为依赖项并导入: import com.mb.doublejump.api.DoubleJumpApi;

为特定玩家启用/禁用冲刺跳跃: DoubleJumpApi.enable(commandBuffer, playerRef); DoubleJumpApi.disable(commandBuffer, playerRef); DoubleJumpApi.toggle(commandBuffer, playerRef);

检查状态: boolean enabled = DoubleJumpApi.isEnabled(store, playerRef);

当玩家身上存在 DoubleJumpComponent 时,冲刺跳跃处于激活状态。