Interface Goat

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

public interface Goat extends Animals
A Goat.
  • Method Details

    • 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