BackingStateCategory

Represent the different block types whose states can be used to display a custom block model.

State-backed custom block models are generally more performant than entity-backed models, but have some limitations. There is also only a certain amount of total block states available that can be used for custom block models.

Parameters

fallbackHitbox

The hitbox block type if display entities are used instead.

Entries

Link copied to clipboard

The block model uses note block states.

Link copied to clipboard

The block model uses mushroom block states.

Link copied to clipboard

The block model uses leave block states.

Link copied to clipboard

The block model uses tripwire block states.

Link copied to clipboard

The block model uses tripwire block states.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.