Interface Goat

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

public interface Goat extends Animals
A Goat.
  • Method Details

    • hasLeftHorn

      boolean hasLeftHorn()
      Gets if this goat has its left horn.
      Returns:
      left horn status
    • setLeftHorn

      void setLeftHorn(boolean hasHorn)
      Sets if this goat has its left horn.
      Parameters:
      hasHorn - left horn status
    • hasRightHorn

      boolean hasRightHorn()
      Gets if this goat has its right horn.
      Returns:
      right horn status
    • setRightHorn

      void setRightHorn(boolean hasHorn)
      Sets if this goat has its right horn.
      Parameters:
      hasHorn - right horn status
    • isScreaming

      boolean isScreaming()
      Gets if this is a screaming goat. A screaming goat makes screaming sounds and rams more often. They do not offer home loans.
      Returns:
      screaming status
    • setScreaming

      void setScreaming(boolean screaming)
      Sets if this is a screaming goat. A screaming goat makes screaming sounds and rams more often. They do not offer home loans.
      Parameters:
      screaming - screaming status