Files
Paper/paper-api/src/main/java/org/bukkit/entity/Sheep.java
2021-10-17 15:39:41 -04:00

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);
}