BoundingBox

Represents a bounding box.

Since

3.6.0

Parameters

uuid

the UUID of the bounding box

name

the name of the bounding box

hitbox

the hitbox of the bounding box

Constructors

Link copied to clipboard
constructor()

Companion properties

Link copied to clipboard
val MESH_PIXEL: String = "mesh_pixel"
Link copied to clipboard
val MESH_TRIANGLE_DUPLEX: String = "mesh_triangle_duplex"
Link copied to clipboard
val MESH_TRIANGLE_SINGLE: String = "mesh_triangle_single"

Functions

Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
@Nullable
open fun hitbox(): @Nullable ModelBoundingBox
Calculates the bounding box for this bone to be used as a hitbox.
Link copied to clipboard
@NotNull
abstract fun name(): @NotNull BoneName
Returns the name of the bone.
Link copied to clipboard
@NotNull
open fun origin(): @NotNull Float3
Returns the origin (pivot point) of the bone.
Link copied to clipboard
@NotNull
open fun rotation(): @NotNull Float3
Returns the rotation of the element.
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
@NotNull
abstract fun uuid(): @NotNull UUID
Returns the UUID of the bone.
Link copied to clipboard
open fun visibility(): Boolean
Checks if the element is visible.