Package net.citizensnpcs.trait
Class SheepTrait
java.lang.Object
net.citizensnpcs.api.trait.Trait
net.citizensnpcs.trait.SheepTrait
Persists
Sheep
metadata.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetColor()
boolean
void
run()
Called every tick if overridden.void
void
setSheared
(boolean sheared) boolean
-
Constructor Details
-
SheepTrait
public SheepTrait()
-
-
Method Details
-
getColor
-
isSheared
public boolean isSheared() -
run
public void run()Description copied from class:Trait
Called every tick if overridden. -
setColor
- See Also:
-
setSheared
public void setSheared(boolean sheared) - See Also:
-
toggleSheared
public boolean toggleSheared()
-