Skip to content

Fix Minecraft 1.21.1 build and animated mesh rendering - #40

Open
kltyton wants to merge 1 commit into
PlayerAnimationLibrary:1.21.1from
kltyton:codex/fix-1.21.1-runtime
Open

Fix Minecraft 1.21.1 build and animated mesh rendering#40
kltyton wants to merge 1 commit into
PlayerAnimationLibrary:1.21.1from
kltyton:codex/fix-1.21.1-runtime

Conversation

@kltyton

@kltyton kltyton commented Sep 13, 2026

Copy link
Copy Markdown

The 1.21.1 branch fails against its mapped Minecraft and NeoForge APIs and bypasses deformed geometry when native X bend is zero. This completes the existing port for Fabric and NeoForge and keeps the deformed-mesh render path active during PAL animation.

  • Match CubeDefinition.dimensions to its 1.21.1 Vector3f descriptor and use the static FML loading-list API.
  • Select the Java 21 toolchain, update the matching PAL dependency to 1.1.6, and supply PAL's Javassist runtime dependency to the NeoForge development run.
  • Disable the original-cube rendering path at animation render entry and restore it at exit, matching the other supported version branch.

Validation: Gradle build -Pmod_version=2.0.0+alpha.1 passes for both loaders. Fabric and NeoForge development clients were tested in the overworld. An additional Fabric downstream animation test exercised X/Y/Z bend and bend-only position/scale; its manual validation passed after checking that the running remapped dependency contained the fix. No server-side behavior or unrelated renderer integrations are changed.

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