promotional bannermobile promotional banner

Immersion in Traffic Context 2

Adds customizable barriers & asphalt roads (+30% speed!). Design unique streets, works with/without Ultimate Car Mod. Survival recipes included. Build realistic traffic systems!
Back to Files

immersion_in_traffic_context-1.21.1.4.1.1-neoforge-1.21.1.jar

File nameimmersion_in_traffic_context-1.21.1.4.1.1-neoforge-1.21.1.jar
Uploader
yuxuan_gzsyuxuan_gzs
Uploaded
Nov 27, 2026
Downloads
18
Size
1.5 MB
Mod Loaders
NeoForge
File ID
9845631
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:immersion-in-traffic-context-2-1490823:9845631"

Learn more about Curse Maven

What's new

Fixed

#000127: Multi-barrier animation triggered all barriers at once

  • Issue: With multiple toll barriers placed, triggering any one of them with an ETC card made every barrier play the arm-raising animation.
  • Root cause: The animationProgress field lived on TollBarrierRenderer, a BlockEntityRenderer. NeoForge creates a single renderer instance per block entity type, shared by all entities of that type. As a result, any barrier's state change drove the same shared progress value.
  • Resolution: Moved the animation progress into a per-instance field on TollBarrierBlockEntity (added getAnimationProgress() / setAnimationProgress(float)). The renderer now reads and writes the progress of the entity it is currently drawing. The field is client-side visual state only — it is not written to NBT and not synchronized.
  • Also fixed: A freshly loaded barrier no longer snaps straight to its target angle; it now starts from the lowered position (0) and eases into place.

This mod has no additional files