Interface Parrot

All Superinterfaces:
Ageable, Animals, Attributable, Breedable, CommandSender, Creature, Damageable, Entity, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator, Sittable, Tameable

public interface Parrot extends Tameable, Sittable
Represents a Parrot.
  • Method Details Link icon

    • getVariant Link icon

      @NotNull Parrot.Variant getVariant()
      Get the variant of this parrot.
      Returns:
      parrot variant
    • setVariant Link icon

      void setVariant(@NotNull Parrot.Variant variant)
      Set the variant of this parrot.
      Parameters:
      variant - parrot variant
    • isDancing Link icon

      boolean isDancing()
      Gets whether a parrot is dancing
      Returns:
      Whether the parrot is dancing