Co-authored-by: Nassim Jahnke <nassim@njahnke.dev> Co-authored-by: Jake Potrebic <jake.m.potrebic@gmail.com> Co-authored-by: William Blake Galbreath <blake.galbreath@gmail.com> Co-authored-by: SoSeDiK <mrsosedik@gmail.com> Co-authored-by: booky10 <boooky10@gmail.com> Co-authored-by: Amin <amin.haddou@frg.wwschool.de> Co-authored-by: TrollyLoki <trollyloki@gmail.com> Co-authored-by: FireInstall <kettnerl@hu-berlin.de> Co-authored-by: maxcom1 <46265094+maxcom1@users.noreply.github.com> Co-authored-by: TotalledZebra <Holappa57@gmail.com>
24 lines
472 B
Java
24 lines
472 B
Java
package org.bukkit.entity;
|
|
|
|
import org.bukkit.material.Colorable;
|
|
|
|
/**
|
|
* Represents a Sheep.
|
|
*/
|
|
public interface Sheep extends Animals, Colorable, Shearable {
|
|
|
|
/**
|
|
* 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);
|
|
}
|