Tags
Creators
Details
All versions
1.2.2
Release
morecars 1.2.25 months ago 74
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Forge
Supported environments
Client and server
Required content
Any compatible version
Any compatible version
Changes
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
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:wfXcrSgj:xJUUD5mO"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:wfXcrSgj:xJUUD5mO"
}

