Class GeyserEntityDataTypes

java.lang.Object
org.geysermc.geyser.api.entity.data.GeyserEntityDataTypes

public final class GeyserEntityDataTypes extends Object
Contains GeyserEntityDataType types which can be used to change the current value stored for a specific entity data type.
Since:
2.11.0
  • Field Details

    • COLOR

      public static final GeyserEntityDataType<Byte> COLOR
      Represents a single-byte value used for color types (e.g., sheep wool color).
      Since:
      2.11.0
    • VARIANT

      public static final GeyserEntityDataType<Integer> VARIANT
      Represents a numeric variant index that can be queried in resource packs.
      Since:
      2.11.0
    • WIDTH

      public static final GeyserEntityDataType<Float> WIDTH
      Represents the entity's width.
      Since:
      2.11.0
    • HEIGHT

      public static final GeyserEntityDataType<Float> HEIGHT
      Represents the entity's height.
      Since:
      2.11.0
    • VERTICAL_OFFSET

      public static final GeyserEntityDataType<Float> VERTICAL_OFFSET
      Represents the entity's vertical offset.
      Since:
      2.11.0
    • SCALE

      public static final GeyserEntityDataType<Float> SCALE
      Represents the scale multiplier.
      Since:
      2.11.0
    • HITBOXES

      public static final GeyserListEntityDataType<Hitbox> HITBOXES
      Represents custom hitboxes for entities, or an empty list if none are set.
      Since:
      2.11.0
    • SEAT_OFFSET

      public static final GeyserEntityDataType<org.cloudburstmc.math.vector.Vector3f> SEAT_OFFSET
      Represents the entity's seat offset, which is used when riding another entity
      Since:
      2.11.0
    • SEAT_LOCK_RIDER_ROTATION

      public static final GeyserEntityDataType<Boolean> SEAT_LOCK_RIDER_ROTATION
      todo: document
      Since:
      2.11.0
    • SEAT_LOCK_RIDER_ROTATION_DEGREES

      public static final GeyserEntityDataType<Float> 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.
      Since:
      2.11.0
    • SEAT_HAS_ROTATION

      public static final GeyserEntityDataType<Boolean> SEAT_HAS_ROTATION
      todo: document
      Since:
      2.11.0
    • SEAT_ROTATION_OFFSET_DEGREES

      public static final GeyserEntityDataType<Float> SEAT_ROTATION_OFFSET_DEGREES
      todo: document
      Since:
      2.11.0