Skip to content

[Bug] KeyframeloopMethod class causes animation crash #536

@PossiblyANinja

Description

@PossiblyANinja

Describe the bug
When animating using keyframeloop(k, a, b, c, ...), using a variable (like var.counter) as the 'k' value will cause the animations to silently crash.

To Reproduce
Steps to reproduce the behavior:

  1. Make a JEM model
  2. In 'animations', make a new variable - "var.counter": "0.25"
  3. Animate the model - "part.rz": "keyframeloop(var.counter, -20, 20)"
  4. Reload pack
  5. No animations will work

Expected behavior
Animations should appear, but instead all are broken.

Crashlog
latest.log - Crash is at bottom

Extra Information:

  • Minecraft Version: 26.1.2
  • EMF version: 3.2.2
  • Only other mod is ETF

Additional context
It appears to be caused by a missing class - "Caused by: java.lang.ClassNotFoundException: traben.entity_model_features.models.animation.math.methods.emf.KeyframeLoopMethod"

EDIT: I could be wrong, but it looks like in the Keyframeloop class, the "Loop" on line 122 is capitalized when it is not supposed to be.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions