toFunction
@NotNull
Converts this data point into a function that returns a Vector3f.
If the data point contains static values, it returns a constant function. If it contains Molang expressions, it compiles them into a function that evaluates the expressions.
Return
a function to get the vector value
Since
1.15.2
Parameters
context
the model loading context