Skip to main content
The RenderedBone interface represents a rendered item display entity in BetterModel’s bone system. Each bone can have animations, transformations, items, and hitboxes attached to it.

Class Information

Package: kr.toxicity.model.api.bone
Type: Final Class
Since: 1.0.0

Hierarchy and Structure

Parent and Children

Every bone has a reference to its root bone and optional parent. Use flattenBones() to get all descendant bones as a flattened collection. Example:

Identification

Each bone has a unique name and UUID. The RendererGroup contains metadata about the bone’s visual properties.

Item Management

Changing the Item

Update the displayed item for this bone and its descendants. Example:

Item Appearance

Control visual effects like enchantment glint and color tinting. Example:

Animation Control

Manage animations on bones. Animations can be global or per-player. Example:

Hit Box Management

Create interactive hitboxes for collision and interaction detection. Example:

Position and Transformation

World Position

Get the bone’s position in world coordinates.

Modifiers

Apply transformation functions to modify bone positioning dynamically. Example:

Display Control

Access and manipulate the underlying display entity. Example:

Nametag Management

Attach text displays to bones. Example:

Tree Matching

Traverse the bone hierarchy with custom predicates and actions.

Updates and Rendering

Manually control bone updates and packet sending.

Lifecycle

Control the bone’s visibility and location in the world.

Event Handling

Access the event dispatcher for listening to bone lifecycle events.

See Also