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

    • getVariant

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

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

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