这是什么?
[TaCZ] Raycast 是 [TaCZ] Bullet Improvement 的一个分支(Fork)。
我保留了原版的所有功能,并针对原版模组在 NeoForge 1.0.4 测试版中发现的问题进行了修复。未来可能会添加更多功能,但不会偏离该模组最初的设计目的。
此分支及其功能仅会在 1.21.1 版本(或我的实时更新整合包升级到的更高版本)上维护。由于维护此模组并非我的首要任务,因此可能会出现延迟。
它做了什么?
弹丸会瞬移到你准星指向的位置。这被称为“命中扫描”(Hitscan)。这是通过射线投射实现的,它会向你面向的点发射一条不可见的线。
TaCZ 本身具有用于实体和方块的撞击方法。该模组试图在模拟的同时直接传递射击到那里,同时移除 TaCZ 所熟知的 kineticBulletEntity(动能子弹实体)。这使得即时枪击命中成为可能,代价是放弃了弹道轨迹。
- 爆炸物被排除在此系统之外,以确保某些机制仍能正常工作。
模组兼容性
命中会通过 TaCZ 的正常撞击方法传递,从而允许一些附加组件钩子运行。但是,Raycast 会取消正常的 onBulletTick 处理。
因此:
- TaCZ Tweaks 的呼啸声和飞掠声无法正常工作
- TaCZ Tweaks 分离的实体和方块穿透规则未被使用
未来计划
- 将末影棒示踪器替换为基于 TaC:Z 动能子弹的客户端专属视觉效果。
- 改进实体碰撞盒周围的爆头检测。
- 使用 Raycast 路径恢复 TaCZ Tweaks 的呼啸声和飞掠声。
- 支持 TaCZ Tweaks 的实体和方块穿透规则。
权限与致谢
请访问 原版模组页面 并支持 Posche。
你也可以加入 Posche 的 Discord。不要在这里报告问题。请参阅 Raycast 的 GitHub Issue 跟踪器。
批准与技术细节

- 模组 ID:
tacz_raycast
- 包名:
dev.zeli.taczraycast
- 配置文件:
tacz-raycast-server.toml
我对模组进行了重新打包,以便由我的更改引起的问题能直接归咎于我,而不是原作者。
来自原版的更改与修复
1.21.1 NeoForge 配置修复
原版测试版中仍然包含对 Forge 旧版 ForgeConfigSpec 类型的引用。我的分支将它们替换为 NeoForge 的 ModConfigSpec 类型。
崩溃修复 startPos
当命中回传至 TaCZ 时,弹丸的起始位置可能会缺失。我在需要时从弹丸的当前位置恢复了 startPos。
伤害乘数修复
原版 1.21.1 测试版在检查射线投射功能是否启用、弹丸是否已被处理以及何时应跳过爆炸弹之前,就应用了 damageMultiplier。
分支则先执行这些检查,然后再应用 damageMultiplier,因此它只影响实际由 Raycast 处理的弹丸。
What is this?
[TaCZ] Raycast is a fork of [TaCZ] Bullet Improvement.
I kept the original features then applied fixes for issues found in the original mod’s NeoForge 1.0.4 beta. More features may be added later without straying too far from the mod’s original purpose.
This fork and its features will only be maintained on version 1.21.1 (or above if my live update modpack upgrades to more recent versions). Maintaining this mod is not my priority so there may be delays.
What does it do?
Projectiles travel instantaneously wherever your crosshair is. This is called hitscan. That is possible through Raycasting which emits an invisible line towards the point you are facing.
TaCZ itself has an impact method for entities and blocks. The mod attempts to directly pass the shot there while simutaneously removing the kineticBulletEntity that TaCZ is known for. This enables instantaneous gun shot hits in exchange for ballistic trajectory.
- Explosives are excluded from this system to ensure certain mechanics remain functional.
Mod compatibilities
Hits are passed through TaCZ’s normal impact methods, allowing some addon hooks to run. However, Raycast cancels normal onBulletTick processing.
Because of that:
- Whizz and flyby sounds from TaCZ Tweaks do not work normally
- TaCZ Tweaks separate entity and block piercing rules are not used
Future plans
- Replace the End Rod tracer with a client-only visual based on TaC:Z’s kinetic bullet.
- Improve headshot detection around entity hitboxes.
- Restore TaCZ Tweaks whizz and flyby sounds using the Raycast path.
- Support TaCZ Tweaks entity and block piercing rules.
Permission and credit
Please visit the original mod page and support Posche.
You can also join Posche’s Discord. Don't report issues here. Please refer to the Raycast github issue tracker.
Approval and technical details

- Mod ID:
tacz_raycast
- Package:
dev.zeli.taczraycast
- Config:
tacz-raycast-server.toml
I repackaged the mod so problems caused by my changes are directed to me instead of the original author.
Changes and fixes from the original
1.21.1 NeoForge config fix
The original beta still contained references to Forge’s old ForgeConfigSpec types. My fork replaces them with NeoForge’s ModConfigSpec types.
Crash fixed startPos
The bullet’s starting position could be missing when a hit was passed back to TaCZ. I restored startPos from the bullet’s current position when it's needed.
Damage multiplier fix
The original 1.21.1 beta applied damageMultiplier before checking whether the raycast feature was enabled, the bullet was already processed, and when an explosive round should be skipped.
The fork performs these checks first instead, before applying the damageMultiplier, so it only affects bullets actually handled by Raycast.
评论 0
登录后参与评分
还没有评论,来抢沙发吧