Class PolarBearEntity

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

public class PolarBearEntity extends AnimalEntity
  • Constructor Details

    • PolarBearEntity

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

    • getFoodTag

      protected @Nullable ItemTag getFoodTag()
      Specified by:
      getFoodTag in class AnimalEntity
      Returns:
      the tag associated with this animal for eating food. Null for nothing or different behavior.