Interface Sheep

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

public interface Sheep extends Animals, Colorable, Shearable, Shearable
Represents a Sheep.
  • Method Details

    • isSheared

      boolean isSheared()
      Gets whether the sheep is in its sheared state.
      Specified by:
      isSheared in interface Shearable
      Returns:
      Whether the sheep is sheared.
    • setSheared

      void setSheared(boolean flag)
      Sets whether the sheep is in its sheared state.
      Specified by:
      setSheared in interface Shearable
      Parameters:
      flag - Whether to shear the sheep