接口 Parrot

所有超级接口:
Ageable, Animals, Attributable, CommandSender, Creature, Damageable, Entity, LivingEntity, Metadatable, Nameable, Permissible, ProjectileSource, ServerOperator, Sittable, Tameable

public interface Parrot extends Animals, Tameable, Sittable
Represents a Parrot.
  • 方法详细资料

    • getVariant

      Parrot.Variant getVariant()
      Get the variant of this parrot.
      返回:
      parrot variant
    • setVariant

      void setVariant(Parrot.Variant variant)
      Set the variant of this parrot.
      参数:
      variant - parrot variant