接口 Parrot

所有超级接口:
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
代表鹦鹉.
  • 方法详细资料

    • getVariant

      获得鹦鹉变体.

      原文: Get the variant of this parrot.

      返回:
      鹦鹉变体
    • setVariant

      void setVariant(@NotNull @NotNull Parrot.Variant variant)
      设置鹦鹉变体.

      原文: Set the variant of this parrot.

      参数:
      variant - 鹦鹉变体
    • isDancing

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