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