NamedBoundingBox

Associates a ModelBoundingBox with a specific bone name.

This is used to identify which part of the model a hitbox corresponds to.

Since

1.15.2

Parameters

name

the name of the bone associated with this bounding box

box

the bounding box definition

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
@NotNull
open fun center(): @NotNull ModelBoundingBox
Returns a new bounding box with the same dimensions but centered at the origin.
Link copied to clipboard
@NotNull
open fun centerPoint(): @NotNull Vector3f
Returns the center point of the bounding box as a Vector3f.
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String