Interface Shearable

All Known Subinterfaces:
Bogged, Sheep

public interface Shearable
Represents an entity which can be shorn with shears.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    boolean
    Gets whether the entity is in its sheared state.
    void
    setSheared(boolean flag)
    Sets whether the entity is in its sheared state.
  • Method Details Link icon

    • isSheared Link icon

      boolean isSheared()
      Gets whether the entity is in its sheared state.
      Returns:
      Whether the entity is sheared.
    • setSheared Link icon

      void setSheared(boolean flag)
      Sets whether the entity is in its sheared state.
      Parameters:
      flag - Whether to shear the entity