接口 Cow

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

public interface Cow extends AbstractCow
代表牛.
  • 方法详细资料

    • getVariant

      获取此牛的变种.

      原文: Get the variant of this cow.

      返回:
      牛的变种
    • setVariant

      void setVariant(@NotNull @NotNull Cow.Variant variant)
      设置此牛的变种.

      原文: Set the variant of this cow.

      参数:
      variant - 牛的变种