Interface Parrot

All Superinterfaces:
Ageable, Animals, Attributable, Audience, Breedable, CommandSender, Creature, Damageable, Entity, Frictional, HoverEventSource<HoverEvent.ShowEntity>, Leashable, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, PersistentDataViewHolder, Pointered, ProjectileSource, ServerOperator, Sittable, Sound.Emitter, Tameable

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

    • getVariant

      Get the variant of this parrot.
      Returns:
      parrot variant
    • setVariant

      void setVariant(@NotNull @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