public class SheepDisguise extends AgeableDisguise
Disguise.Visibility
Constructor | Description |
---|---|
SheepDisguise() |
Creates an instance.
|
SheepDisguise(boolean adult,
org.bukkit.DyeColor color) |
Creates an instance.
|
Modifier and Type | Method | Description |
---|---|---|
org.bukkit.DyeColor |
getColor() |
Returns the color.
|
void |
setColor(org.bukkit.DyeColor color) |
Sets the color.
|
java.lang.String |
toString() |
Returns a string representation of the object.
|
isAdult, setAdult
clone, equals, fromString, getType, getVisibility, getVisibilityParameter, hashCode, isVisibleTo, setVisibility, setVisibilityParameter
getCustomName, isCustomNameVisible, setCustomName, setCustomNameVisible
public SheepDisguise()
public SheepDisguise(boolean adult, org.bukkit.DyeColor color)
adult
- should the disguise be an adultcolor
- the color of the woolpublic org.bukkit.DyeColor getColor()
public void setColor(org.bukkit.DyeColor color)
color
- the wool colorpublic java.lang.String toString()
toString
in class AgeableDisguise