public class CreeperDisguise extends MobDisguise
Disguise.Visibility
Constructor | Description |
---|---|
CreeperDisguise() |
Creates an instance.
|
CreeperDisguise(boolean powered) |
Creates an instance.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
isPowered() |
Indicates whether the creeper is powered.
|
void |
setPowered(boolean powered) |
Sets whether the creeper is powered.
|
java.lang.String |
toString() |
Returns a string representation of the object.
|
clone, equals, fromString, getType, getVisibility, getVisibilityParameter, hashCode, isVisibleTo, setVisibility, setVisibilityParameter
getCustomName, isCustomNameVisible, setCustomName, setCustomNameVisible
public CreeperDisguise()
public CreeperDisguise(boolean powered)
powered
- whether the creeper should be poweredpublic boolean isPowered()
true
, if the creeper is poweredpublic void setPowered(boolean powered)
powered
- true
, if the creeper should be poweredpublic java.lang.String toString()
toString
in class MobDisguise