接口 Shearable
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
-