Files
Paper/paper-api/src/main/java/org/bukkit/entity/Shearable.java
2024-07-27 10:28:32 +10:00

22 lines
436 B
Java

package org.bukkit.entity;
/**
* Represents an entity which can be shorn with shears.
*/
public interface Shearable {
/**
* Gets whether the entity is in its sheared state.
*
* @return Whether the entity is sheared.
*/
boolean isSheared();
/**
* Sets whether the entity is in its sheared state.
*
* @param flag Whether to shear the entity
*/
void setSheared(boolean flag);
}