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

public class CamelEntity extends AbstractHorseEntity
  • Field Details

    • SITTING_HEIGHT_DIFFERENCE

      public static final float SITTING_HEIGHT_DIFFERENCE
      See Also:
      Constant Field Values
  • 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(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.ByteEntityMetadata entityMetadata)
      Overrides:
      setHorseFlags in class AbstractHorseEntity
    • canEat

      public boolean canEat(Item item)
      Overrides:
      canEat in class AbstractHorseEntity
      Returns:
      true if this is a valid item to breed with for this animal.
    • setPose

      public void setPose(com.github.steveice10.mc.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(com.github.steveice10.mc.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(com.github.steveice10.mc.protocol.data.game.entity.metadata.type.BooleanEntityMetadata entityMetadata)