ScriptManager

interface ScriptManager

Manages the parsing and registration of animation scripts.

This manager allows for the creation of custom script logic that can be embedded within animations.

Since

1.15.2

Functions

Link copied to clipboard
abstract fun addBuilder(@NotNull name: @NotNull String, @NotNull script: @NotNull ScriptBuilder)
Registers a new script builder.
Link copied to clipboard
@Nullable
abstract fun build(@NotNull script: @NotNull String): @Nullable AnimationScript
Parses a raw script string into an AnimationScript.