public class OcelotDisguise extends AgeableDisguise
Disguise.Visibility
Constructor | Description |
---|---|
OcelotDisguise() |
Creates an instance.
|
OcelotDisguise(org.bukkit.entity.Ocelot.Type catType,
boolean adult) |
Creates an instance.
|
Modifier and Type | Method | Description |
---|---|---|
org.bukkit.entity.Ocelot.Type |
getCatType() |
Gets the cat type.
|
boolean |
isSitting() |
|
void |
setCatType(org.bukkit.entity.Ocelot.Type catType) |
Sets the cat type.
|
void |
setSitting(boolean sitting) |
|
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 OcelotDisguise()
public OcelotDisguise(org.bukkit.entity.Ocelot.Type catType, boolean adult)
catType
- the cat typeadult
- should the disguise be an adultpublic org.bukkit.entity.Ocelot.Type getCatType()
public void setCatType(org.bukkit.entity.Ocelot.Type catType)
catType
- the cat typepublic boolean isSitting()
public void setSitting(boolean sitting)
public java.lang.String toString()
toString
in class AgeableDisguise