Datapoint

@ApiStatus.Internal
class Datapoint : Record

A raw JSON vector.

Parameters

x

x

y

y

z

z

script

script

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val PARSER: JsonDeserializer<Datapoint>
Parser instance

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun hasScript(): Boolean
Checks this datapoint has script
Link copied to clipboard
@NotNull
open fun script(): @NotNull String
Gets script
Link copied to clipboard
@NotNull
open fun toFunction(@NotNull placeholder: @NotNull ModelPlaceholder): @NotNull FloatFunction<Vector3f>
Creates vector function
Link copied to clipboard
abstract fun toString(): String