public static enum CustomServerData.ServerResourceMode extends java.lang.Enum<CustomServerData.ServerResourceMode>
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.text.ITextComponent |
getName() |
static CustomServerData.ServerResourceMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CustomServerData.ServerResourceMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomServerData.ServerResourceMode ENABLED
public static final CustomServerData.ServerResourceMode DISABLED
public static final CustomServerData.ServerResourceMode PROMPT
public static CustomServerData.ServerResourceMode[] values()
for (CustomServerData.ServerResourceMode c : CustomServerData.ServerResourceMode.values()) System.out.println(c);
public static CustomServerData.ServerResourceMode 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 nullpublic net.minecraft.util.text.ITextComponent getName()