接口 Chicken

所有超级接口:
Ageable, Animals, Attributable, Breedable, CommandSender, Creature, Damageable, Entity, Leashable, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface Chicken extends Animals
代表鸡.
  • 方法详细资料

    • getVariant

      获取这只鸡的变种.

      原文: Get the variant of this chicken.

      返回:
      鸡的变种
    • setVariant

      void setVariant(@NotNull @NotNull Chicken.Variant variant)
      设置这只鸡的变种.

      原文: Set the variant of this chicken.

      参数:
      variant - 鸡的变种