Deserializer

Registry and factory for rotators.

Since

1.15.2

Functions

Link copied to clipboard
@Nullable
open fun deserialize(@NotNull object: @NotNull JsonObject): @Nullable ModelRotator
Deserializes a rotator from a JSON object.
Link copied to clipboard
@NotNull
open fun register(@NotNull name: @NotNull String, @NotNull builder: @NotNull ModelRotator.Builder): @NotNull ModelRotator.BuiltInDeserializer
Registers a new rotator type.