Package org.bukkit.entity
Enum TropicalFish.Pattern
- java.lang.Object
-
- java.lang.Enum<TropicalFish.Pattern>
-
- org.bukkit.entity.TropicalFish.Pattern
-
- All Implemented Interfaces:
Serializable
,Comparable<TropicalFish.Pattern>
- Enclosing interface:
- TropicalFish
public static enum TropicalFish.Pattern extends Enum<TropicalFish.Pattern>
Enumeration of all different fish patterns. Refer to the Minecraft Wiki for pictures.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TropicalFish.Pattern
valueOf(String name)
Returns the enum constant of this type with the specified name.static TropicalFish.Pattern[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KOB
public static final TropicalFish.Pattern KOB
-
SUNSTREAK
public static final TropicalFish.Pattern SUNSTREAK
-
SNOOPER
public static final TropicalFish.Pattern SNOOPER
-
DASHER
public static final TropicalFish.Pattern DASHER
-
BRINELY
public static final TropicalFish.Pattern BRINELY
-
SPOTTY
public static final TropicalFish.Pattern SPOTTY
-
FLOPPER
public static final TropicalFish.Pattern FLOPPER
-
STRIPEY
public static final TropicalFish.Pattern STRIPEY
-
GLITTER
public static final TropicalFish.Pattern GLITTER
-
BLOCKFISH
public static final TropicalFish.Pattern BLOCKFISH
-
BETTY
public static final TropicalFish.Pattern BETTY
-
CLAYFISH
public static final TropicalFish.Pattern CLAYFISH
-
-
Method Detail
-
values
public static TropicalFish.Pattern[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TropicalFish.Pattern c : TropicalFish.Pattern.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TropicalFish.Pattern valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-