java.io.Serializable
, java.lang.Comparable<PortalType>
public enum PortalType extends java.lang.Enum<PortalType>
Enum Constant | Description |
---|---|
CUSTOM |
This is a custom Plugin portal.
|
ENDER |
This is an Ender portal.
|
NETHER |
This is a Nether portal, made of obsidian.
|
Modifier and Type | Method | Description |
---|---|---|
static PortalType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PortalType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PortalType NETHER
public static final PortalType ENDER
public static final PortalType CUSTOM
public static PortalType[] values()
for (PortalType c : PortalType.values()) System.out.println(c);
public static PortalType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.