Interface MushroomCow

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

public interface MushroomCow extends Cow
Represents a mushroom Cow
  • Method Details

    • getVariant

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

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