promotional bannermobile promotional banner

morecars

An Automobility addon built on SShakusora's open-source RIAutomobility project. This is just the beginning—we want to see more players creating Automobility addons.
Back to Files

morecars-1.2.2-forge

File namemorecars-1.2.2.jar
Uploader
stoneelephstoneeleph
Uploaded
May 18, 2026
Downloads
123
Size
1.0 MB
Mod Loaders
Forge
File ID
8109120
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:morecars-1418879:8109120")

Learn more about Curse Maven

What's new

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