Trajectory Guard:一个轨迹模组

? 概述:
? 多人游戏
❓ 它的作用
本模组模拟箭矢等投射物的飞行轨迹,并在你射出前显示其最可能的落点预览。
根据投射物最可能击中的目标,线条颜色会变为:
绿色(实体方块)
灰色(无遮挡)
红色(实体)
❓ 为什么存在?
我发现有另外 5 个模组提供类似功能,但它们都存在一些问题(个人看法),这也是 Trajectory Guard 诞生的原因:
Trajectory Estimation:
计算轨迹时使用了部分错误的物理逻辑
Trajectory:
仅适用于 1.21 版本,且视觉效果不佳(粒子干扰严重)
Trajectory Preview:
射线检测算法有误,导致横向移动被错误地应用到轨迹上;远距离视觉效果差。
TrajectoryFabric:
视觉效果极佳,轨迹计算正确(甚至能计算偏移角度),但遗憾的是投射物碰撞箱不起作用,且配置界面体验如同 1.8.9 时代的模组。它不支持新武器(例如弩),并且由于未考虑潜行状态,当玩家潜行或潜行结束后显示的轨迹是错误的。此外,它的优化程度也很低。
上述所有模组都仅在低帧率下渲染。
本模组使用正确的物理逻辑,改进了 TrajectoryFabric 的视觉效果,并实现了可用的投射物碰撞箱预览。它以高帧率渲染且经过优化,因此不会造成明显的性能下降。它支持所有重要的投射物(弓、弩、三叉戟、末影珍珠、雪球、鸡蛋),且没有(已知的)Bug。
? 快速上手
- 在“Trajectory Guard”类别中,将“Toggle Trajectory Guard”按键绑定到你喜欢的按键上。
- 按下该按键 (此时应会提示你模组是开启还是关闭状态)
- 享受模组带来的乐趣吧!
⚙️ 技术说明:
❌ 如果它没有按你的预期工作怎么办?
必须切换模组的开关状态
按下按钮后没有文字提示:
你是否设置了_正确的按键绑定_?(模组默认未绑定任何按键)
游戏崩溃:
你是否安装了所有依赖项?(Fabric API)
你是否下载了与_游戏版本_匹配的_模组版本_?
其他无关问题?
建议新功能:点击这里
请求发布新版本:点击这里
提交 Issue:点击这里
(如果你的游戏崩溃,请确认问题的根源确实是本模组)
Trajectory Guard: A Trajectory Mod

? Overview:
? Multiplayer
-
This mod works in both single-player and multiplayer!
-
Important: Confirm, that you are allowed to use this mod on the multiplayer server you are playing on, as it may be considered cheating.
❓ What It Does
This mod simulates the trajectories of projectiles like arrows and shows you a preview, where they will most likely be shot.
Based on what the projectile will most likely hit, the lines color will change to:
Green (Solid Block)
Gray (Nothing)
Red (Entity)
❓ Why does it Exist?
I have found 5 other Mods that do something similar, but they all have some Issues (my opinion), which is why Trajectory Guard exists:
Trajectory Estimation:
Partially wrong physics are used for trajectory calculation
Trajectory:
Only for 1.21, also has bad visuals (intrusive particles)
Trajectory Preview:
Bad Raycasting for Trajectory, sideways motion is applied to trajectory (wrong), bad visuals for long distances.
TrajectoryFabric:
Very good visuals, correct trajectory calculation (even calculating offset angle), but sadly the projectile hit box does not work and the configuring feels like a 1.8.9 mod. It does not support newer weapons (e.g. crossbows) and, because of no consideration for sneaking, the displayed trajectory is wrong when and even after sneaking. It also has sadly little optimisation.
All of the above mods suffer from only rendering at low fps.
This Mod uses correct physics, improves on the visuals from TrajectoryFabric and implements working projectile hit box previews. It renders at high fps and is also optimized, thus not noticeably decreasing performance. It supports all important projectiles (Bow, Crossbow, Trident, Enderpearl, Snowball, Egg) and has no (known) bugs.
? Getting Started
- Bind the "Toggle Trajectory Guard" key from the "Trajectory Guard" category to a key of your choice.
- Click that key (a text should now tell you whether you switched the mod on or off)
- Have fun with the mod!
⚙️ Technical:
❌ Does it not work like you want it to?
The Mod has to be toggled
No text appears, when you press the button:
Did you set the correct keybinds? (The mod is unbound by default)
The game crashes:
Do you have all dependencies installed? (Fabric API)
Did you download the correct mod version for your game version?
Something Unrelated?
Suggest a Feature: Click Here
Request a Version: Click Here
Open an Issue: Click Here
(If your game crashes, please confirm, that the source of the Issue is this Mod)
评论 0
登录后参与评分
还没有评论,来抢沙发吧