Interface Shearable

All Known Subinterfaces:
Bogged, Sheep

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

    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

    • isSheared

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

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