Interface Goat

All Superinterfaces:
Ageable, Animals, Attributable, Audience, Breedable, CommandSender, Creature, Damageable, Entity, Frictional, HoverEventSource<HoverEvent.ShowEntity>, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, Pointered, ProjectileSource, ServerOperator, Sound.Emitter

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
    • ram

      void ram(@NotNull @NotNull LivingEntity entity)
      Makes the goat ram at the specified entity
      Parameters:
      entity - the entity to ram at