接口 Shearable

所有已知子接口:
Bogged, Sheep

public interface Shearable
代表一个可以被剪刀剪毛的实体.
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    获取实体是否处于已剪毛状态.
    void
    setSheared(boolean flag)
    设置实体是否处于已剪毛状态.
  • 方法详细资料

    • isSheared

      boolean isSheared()
      获取实体是否处于已剪毛状态.

      原文: Gets whether the entity is in its sheared state.

      返回:
      实体是否已剪毛
    • setSheared

      void setSheared(boolean flag)
      设置实体是否处于已剪毛状态.

      原文: Sets whether the entity is in its sheared state.

      参数:
      flag - 是否剪毛