ModelData

@ApiStatus.Internal
class ModelData : Record

Raw BlockBench model's data.

Parameters

resolution

resolution

elements

elements

outliner

children

textures

textures

animations

animations

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
val GSON: Gson
Gson parser

Functions

Link copied to clipboard
@NotNull
open fun animations(): @NotNull List<ModelAnimation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
open fun isSupported(): Boolean
Checks this model is supported in the Minecraft client.
Link copied to clipboard
@NotNull
open fun placeholder(): @NotNull ModelPlaceholder
Link copied to clipboard
open fun scale(): Float
Gets cube scale of this model
Link copied to clipboard
@NotNull
open fun toBlueprint(@NotNull name: @NotNull String): @NotNull ModelBlueprint
Converts model data to blueprint
Link copied to clipboard
abstract fun toString(): String