public class BoatDisguise extends ObjectDisguise
Modifier and Type | Class | Description |
---|---|---|
static class |
BoatDisguise.BoatType |
Different types of wood a boat can be made out of.
|
Disguise.Visibility
Constructor | Description |
---|---|
BoatDisguise() |
|
BoatDisguise(BoatDisguise.BoatType boatType) |
Modifier and Type | Method | Description |
---|---|---|
BoatDisguise.BoatType |
getBoatType() |
|
void |
setBoatType(BoatDisguise.BoatType boatType) |
|
java.lang.String |
toString() |
Returns a string representation of the object.
|
clone, equals, fromString, getType, getVisibility, getVisibilityParameter, hashCode, isVisibleTo, setVisibility, setVisibilityParameter
getCustomName, getTypeId, getTypeId, isCustomNameVisible, setCustomName, setCustomNameVisible
public BoatDisguise()
public BoatDisguise(BoatDisguise.BoatType boatType)
boatType
- change the wood type of the boat (works in Minecraft 1.9+ only)public BoatDisguise.BoatType getBoatType()
public void setBoatType(BoatDisguise.BoatType boatType)
boatType
- change the wood type of the boat (works in Minecraft 1.9+ only)public java.lang.String toString()
toString
in class ObjectDisguise