Skip to content

fix: correct Fabric overlay text orientation - #85

Merged
SirEdvin merged 2 commits into
1.21from
fix/fabric-network-text-orientation
Jul 31, 2026
Merged

fix: correct Fabric overlay text orientation#85
SirEdvin merged 2 commits into
1.21from
fix/fabric-network-text-orientation

Conversation

@SirEdvin

@SirEdvin SirEdvin commented Jul 30, 2026

Copy link
Copy Markdown
Owner

Summary

  • render Fabric configurator overlays from WorldRenderEvents.LAST
  • restore the camera-view render state expected by direct text rendering
  • align CC:Tweaked 1.113.1 with Tweakium 1.4.9 runtime requirements
  • keep the shared billboard transform and NeoForge render path unchanged

Root cause

Fabric 1.21 moved the overlay hook from the late world-render event to AFTER_ENTITIES. That event is intended for appending to entity consumers and does not establish the camera-view state used by this renderer, causing its explicit billboard rotation to produce upside-down text.

The earlier Tweakium 1.4.9 upgrade also retained CC:Tweaked 1.113.0 even though Tweakium requires 1.113.1 or newer.

Verification

  • ./gradlew :fabric:compileKotlin --no-daemon -Pkotlin.incremental=false
  • ./gradlew build --no-daemon -Pkotlin.incremental=false
  • timeout --foreground 20m xvfb-run -a ./gradlew gameTest --no-daemon -PminimalTestEnvironment -Pkotlin.incremental=false

@SirEdvin
SirEdvin merged commit e327f82 into 1.21 Jul 31, 2026
1 check passed
@SirEdvin
SirEdvin deleted the fix/fabric-network-text-orientation branch July 31, 2026 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant