接口 Shearable

所有已知子接口:
Bogged, Sheep

public interface Shearable
Represents an entity which can be shorn with shears.
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    Gets whether the entity is in its sheared state.
    void
    setSheared(boolean flag)
    Sets whether the entity is in its sheared state.
  • 方法详细资料

    • isSheared

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

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