Skip to content

[Bug] Multiple scripts on the "Instructions" track overwrite each other #351

@isnsest

Description

@isnsest

✔️ Pre-check

  • Tested with the latest snapshot of BetterModel from Modrinth
  • Confirmed the issue occurs without other optional/experimental plugins or clients (see Disclaimer below)

🐞 Problem Description

I noticed some inconsistent behavior regarding how animation scripts are handled on different timeline tracks. It seems that when I place multiple keyframes on the Instructions track using the same prefix (for example, signal:1 at 0.5s and signal:2 at 1.0s), only the very last keyframe actually triggers in-game. Each subsequent keyframe with the same prefix appears to overwrite the previous one during the model loading phase.
Interestingly, this problem does not exist on the Particle track. If I use the "Script" field for multiple particle effects, all of them trigger perfectly in sequence even if they use the same prefix. I am currently using the particle track as a workaround, but it would be much better if the primary Instructions track supported multiple sequential triggers without overwriting them, as it would allow for much cleaner model organization.


📜 Server Log

Your error log if exists.


🖼️ Screenshot / Video

Your in-game screenshot.


🧪 Test Model / Code

demon_knight.txt


🌍 Environment

  • OS: Windows
  • Software & version: Paper 26.1 (BetterModel 3.0.1)

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