Package org.bukkit.entity
Interface Shearable
public interface Shearable
Represents an entity which can be shorn with shears.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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
-