介绍
中文介绍正在准备中,下面暂时显示原文。
- This mod adds a new server-side Lua method
api:kickbackPlayer(player, reverse, power)
- and a new global variable
HEAVY_RECOIL_INSTALLED
- You can use the following snippet to knock players back in a specified direction when firing:
if (HEAVY_RECOIL_INSTALLED) then
api:kickbackPlayer(api:getShooter(), true, cache.KICKBACK.power)
end
- Parameters:
player – The player instance.
reverse – When true, the knockback direction is backward; when false, it is forward.
power – The knockback strength. A value around 1 is recommended.
常见问题
Heavy Recoil 支持哪些 Minecraft 版本?
Heavy Recoil 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Heavy Recoil 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Koei 的其他作品
查看全部 →Exception API Extension
by Koei
An addon for Timeless and Classics Zero (TaCZ) that extends its Lua scripting API for gun logic scripts and client-side animation state machines, with a focus on melee combat.
2,167
16 天前
CurseForge
Ammo Supply Box
by Koei
Added tiered, placeable ammo supply box for Timeless and Classics Zero.
1,336
3 天前
CurseForge
评论
登录后评论和评分