This repository has been archived on 2026-10-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
layue13 67fd40011a perf(slashblade-exsa): 加速飞剑已命中目标过滤
原因 / Cause:
五类飞剑实体共享 EntityDriveEx 的 alreadyHitEntity 列表;每次 AABB 扫描后的 removeAll 都对历史命中目标线性查询。

修复 / Fix:
将共享的 alreadyHitEntity 从 ArrayList 替换为 HashSet;保持候选列表、选择器、命中处理和生命周期逻辑原样。

性能收益 / Performance:
DriveEx 及其 Phantom、Flare、Hurricane、Lightning 子类扫描结果的历史命中排除由线性成员查找降为均摊常数时间。

兼容性 / Compatibility:
命中集合仅用于 clear、add、addAll 和 removeAll 成员判定,未被迭代或按顺序读取;候选实体仍按原始世界查询顺序处理。

验证 / Validation:
Java 8 下执行 Gradle 8.14.3 build --rerun-tasks --no-daemon --console=plain 成功(test 为 NO-SOURCE)。

Refs #1
2026-09-05 16:17:26 +08:00
2026-07-08 17:18:09 +08:00
2026-07-08 17:18:09 +08:00
2026-07-08 17:18:09 +08:00
2026-07-08 17:18:09 +08:00
2026-07-08 17:18:09 +08:00

SlashBlade-ExSa

Reconstructed source repository for the Minecraft 1.7.10 SlashBlade addon flammpfeil.slashblade.exsa.

Original jar is preserved under original/. Sources were decompiled with CFR 0.152 and adjusted only as needed for compilation.

Build:

./gradlew clean build
S
Description
No description provided
Readme
181 KiB
0 Stars 2 Watchers 0 Forks
Languages
Java 100%