File Details
morecars-1.2.2-forge
- R
- May 18, 2026
- 1.03 MB
- 66
- 1.20.1
- Forge
File Name
morecars-1.2.2.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
Fixes
- HitboxEntity dimensions not restored on client spawn — size field stayed at defaults (1.0×0.66) for all joining players, causing visual collision box mismatch with F3+B
- Double HitboxEntity on chunk reload / server restart — onAddedToWorld() spawned fresh hitboxes while NBT-loaded orphans survived, creating duplicate collision proxies
- Component sync packet loss unrecoverable — client could permanently stay in EMPTY-frame limbo (invisible vehicle) with no retry mechanism
- remove() gated behind usesMoreCarsSystems() — if the frame was ever reset externally, hitboxes would leak permanently
- Culling box not updated immediately after setComponents() — relied on next tick's render thread timing (1-3 frame window of potentially incorrect frustum culling)
- Culling box unconditionally recalculated every tick via trigonometric transforms — added position/yaw dirty-check caching
Changes
- onAddedToWorld() now detects NBT-loaded entities and adopts existing hitboxes instead of spawning duplicates
- setComponents() now updates the culling box inline, eliminating the stale-frame window
- remove() now always cleans up hitboxes regardless of frame registry state
- Client-side empty-frame timeout triggers automatic component sync retry after 100 ticks without a successful set

