24 lines
528 B
Java
24 lines
528 B
Java
package org.bukkit.entity;
|
|
|
|
import org.bukkit.material.Colorable;
|
|
|
|
/**
|
|
* Represents a Sheep.
|
|
*/
|
|
public interface Sheep extends Animals, Colorable, Shearable, io.papermc.paper.entity.Shearable { // Paper - Shear API
|
|
|
|
/**
|
|
* Gets whether the sheep is in its sheared state.
|
|
*
|
|
* @return Whether the sheep is sheared.
|
|
*/
|
|
boolean isSheared();
|
|
|
|
/**
|
|
* Sets whether the sheep is in its sheared state.
|
|
*
|
|
* @param flag Whether to shear the sheep
|
|
*/
|
|
void setSheared(boolean flag);
|
|
}
|