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

    • canEat

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