接口 Goat

所有超级接口:
Ageable, Animals, Attributable, Breedable, CommandSender, Creature, Damageable, Entity, LivingEntity, Lootable, Metadatable, Mob, Nameable, Permissible, PersistentDataHolder, ProjectileSource, ServerOperator

public interface Goat extends Animals
A Goat.
  • 方法详细资料

    • hasLeftHorn

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

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

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

      void setRightHorn(boolean hasHorn)
      Sets if this goat has its right horn.
      参数:
      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.
      返回:
      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.
      参数:
      screaming - screaming status