ModelGroup

Represents a group definition in the raw model data.

Groups are used to organize elements and other groups hierarchically. This record corresponds to the group structure found in newer BlockBench versions (>= 5.0.0).

Since

1.15.2

Parameters

name

the name of the group

uuid

the unique identifier of the group

origin

the pivot point (origin) of the group

rotation

the rotation of the group

lightEmission

the light emission level (0-15)

_visibility

the visibility state of the group (null means visible)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@NotNull
open fun origin(): @NotNull Float3
Returns the origin (pivot point) of the group.
Link copied to clipboard
@NotNull
open fun rotation(): @NotNull Float3
Returns the rotation of the group.
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
open fun visibility(): Boolean
Checks if the group is visible.