Interface Cow

All Superinterfaces:
AbstractCow, Ageable, Animals, Attributable, Breedable, CommandSender, Creature, Damageable, Entity, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface Cow extends AbstractCow
Represents a regular Cow.
  • Method Details Link icon

    • getVariant Link icon

      @NotNull Cow.Variant getVariant()
      Get the variant of this cow.
      Returns:
      cow variant
    • setVariant Link icon

      void setVariant(@NotNull Cow.Variant variant)
      Set the variant of this cow.
      Parameters:
      variant - cow variant