All Implemented Interfaces:
org.geysermc.geyser.api.entity.type.GeyserEntity
Direct Known Subclasses:
TraderLlamaEntity

public class LlamaEntity extends ChestedHorseEntity
  • Constructor Details

    • LlamaEntity

      public LlamaEntity(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

    • setStrength

      public void setStrength(org.geysermc.mcprotocollib.protocol.data.game.entity.metadata.type.IntEntityMetadata entityMetadata)
    • 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.
    • getStrength

      public int getStrength()
      Used to calculate inventory size