Class GeyserEntityDataTypes
java.lang.Object
org.geysermc.geyser.api.entity.data.GeyserEntityDataTypes
Contains commonly used
GeyserEntityDataType constants for built-in entity
metadata fields.
These data types define the structure of certain primitive or numeric metadata values that can be used for Bedrock entities. Each constant is backed by a pre-registered entity data type that can be used when reading or writing metadata through the Geyser API.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GeyserEntityDataType<Byte> Represents a single-byte value used for color types (e.g., sheep wool color).static final GeyserEntityDataType<Float> Represents the entity's height.static final GeyserListEntityDataType<Hitbox> Represents custom hitboxes for entitiesstatic final GeyserEntityDataType<Float> Represents the scale multiplier.static final GeyserEntityDataType<Boolean> todo: documentstatic final GeyserEntityDataType<Boolean> todo: documentstatic final GeyserEntityDataType<Float> The degrees of rotation the seat is locked to the rider's rotation This is used for boats or happy ghasts in the vanilla game.static final GeyserEntityDataType<org.cloudburstmc.math.vector.Vector3f> Represents the entity's seat offset, which is used when riding another entitystatic final GeyserEntityDataType<Float> todo: documentstatic final GeyserEntityDataType<Integer> Represents a numeric variant index that can be queried in resource packs.static final GeyserEntityDataType<Float> Represents the entity's vertical offset.static final GeyserEntityDataType<Float> Represents the entity's width. -
Method Summary
-
Field Details
-
COLOR
Represents a single-byte value used for color types (e.g., sheep wool color). -
VARIANT
Represents a numeric variant index that can be queried in resource packs. -
WIDTH
Represents the entity's width. -
HEIGHT
Represents the entity's height. -
VERTICAL_OFFSET
Represents the entity's vertical offset. -
SCALE
Represents the scale multiplier. -
HITBOXES
Represents custom hitboxes for entities -
SEAT_OFFSET
Represents the entity's seat offset, which is used when riding another entity -
SEAT_LOCK_RIDER_ROTATION
todo: document -
SEAT_LOCK_RIDER_ROTATION_DEGREES
The degrees of rotation the seat is locked to the rider's rotation This is used for boats or happy ghasts in the vanilla game. -
SEAT_HAS_ROTATION
todo: document -
SEAT_ROTATION_OFFSET_DEGREES
todo: document
-