ModelData

@ApiStatus.Internal
class ModelData : Record

Raw BlockBench model's data.

Parameters

meta

meta

resolution

resolution

elements

elements

outliner

children

textures

textures

animations

animations

groups

groups (>=BlockBench 5.0.0)

placeholder

placeholder

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>
Gets animation
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
@NotNull
open fun groups(): @NotNull List<ModelGroup>
Gets groups
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
Gets placeholder
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