Skip to content

🐛 Interpolation... Teleportation... Nyeh. How about I corrupt your Blueprint instead? #509

@ceevyte

Description

@ceevyte

🛑 Before you Start

  • I have searched existing bug reports for my problem.
  • I have read the F-A-Q.
  • I am using the latest version of Animated Java
  • I will only report a single bug in this report. If I have found multiple bugs, I will create a separate report for each one.

🗣️ Describe the bug

When setting Interpolation/Teleportation Duration to 0, your Blueprint becomes corrupted, unable to be exported from that point on.

Animated Java plugin version: v1.10.0-beta-6
Sorry if this is not where I am supposed to post issues about it!

⚠️ Error Message

this.value.toFixed is not a function
TypeError: this.value.toFixed is not a function
    at Ze.toString (PLUGINS/(Plugin):animated_java.js:1625:53820)
    at q_.toString (PLUGINS/(Plugin):animated_java.js:1628:8574)
    at eval (PLUGINS/(Plugin):animated_java.js:1625:55862)
    at Array.map (<anonymous>)
    at lt.toString (PLUGINS/(Plugin):animated_java.js:1625:55853)
    at generateRootEntityPassengers (PLUGINS/(Plugin):animated_java.js:2206:2968)
    at dataPackCompiler (PLUGINS/(Plugin):animated_java.js:2206:8529)
    at compileDataPack (PLUGINS/(Plugin):animated_java.js:2206:5123)
    at actuallyExportProject (PLUGINS/(Plugin):animated_java.js:2207:33238)
    at async exportProject (PLUGINS/(Plugin):animated_java.js:2212:54)

🔄️ How to Reproduce

  1. Go to Blueprint (for 26.1.2) settings
  2. Rig
  3. Set both "Interpolation Duration" and "Teleportation Duration" to 0
  4. Save
  5. Export
    BAM!

ggg.ajblueprint.zip
A corrupted Blueprint example.

✅ Expected Behavior

It should set the "Interpolation Duration" and "Teleportation Duration" to 0, and Export without a problem. Preferably without corrupting my whole dang Blueprint, too.

💡 Solutions & Alternatives

Manually moving everything from a corrupted Blueprint to a non-corrupted one fixes it. It works, but it's tedious.
Didn't find any reliable way to set the durations to 0 otherwise.

🟩 Minecraft Version

1.21.4

🟦 Blockbench Version

5.1.4 (Animated Java minecraft version set to 26.1.2)*

💻 Operating System

Linux

📃 Installed Blockbench Plugins

Nope

⛰️ Minecraft Environment

Fabric 1.21.11, Developer's Toolkit modpack. Doesn't affect Blockbench though, where the issue resigns.

Metadata

Metadata

Assignees

Labels

🐛 BugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions