Group
Represents a group of elements, forming a bone in the hierarchy.
Since
1.15.2
Parameters
uuid
the UUID of the group
name
the name of the group/bone
origin
the pivot point of the group
rotation
the rotation of the group
children
the list of child elements
visibility
whether the group is visible
Functions
Link copied to clipboard
@Nullable
Builds the JSON representation for legacy clients (1.21.3 or under).
Link copied to clipboard
@Nullable
Builds the JSON representation for a mesh-based item model.
Link copied to clipboard
@Nullable
@Unmodifiable
Builds the JSON representation for modern clients.
Link copied to clipboard
Calculates the bounding box for this group to be used as a hitbox.
Link copied to clipboard
Checks if the element is visible.