All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity, Leashable

public class CamelEntity extends AbstractHorseEntity
  • Field Details

    • SITTING_HEIGHT_DIFFERENCE

      public static final float SITTING_HEIGHT_DIFFERENCE
      See Also:
  • Constructor Details

    • CamelEntity

      public CamelEntity(GeyserSession session, int entityId, long geyserId, UUID uuid, EntityDefinition<?> definition, org.cloudburstmc.math.vector.Vector3f position, org.cloudburstmc.math.vector.Vector3f motion, float yaw, float pitch, float headYaw)
  • Method Details

    • setHorseFlags

      public void setHorseFlags(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.ByteEntityMetadata entityMetadata)
      Overrides:
      setHorseFlags in class AbstractHorseEntity
    • getFoodTag

      protected @Nullable ItemTag getFoodTag()
      Overrides:
      getFoodTag in class AbstractHorseEntity
      Returns:
      the tag associated with this animal for eating food. Null for nothing or different behavior.
    • setPose

      public void setPose(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose pose)
      Description copied from class: Entity
      Usually used for bounding box and not animation.
      Overrides:
      setPose in class Entity
    • setDimensions

      protected void setDimensions(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.Pose pose)
      Description copied from class: Entity
      Set the height and width of the entity's bounding box
      Overrides:
      setDimensions in class LivingEntity
    • setDashing

      public void setDashing(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)