public enum WorldType extends Enum<WorldType>
| Enum Constant and Description | 
|---|
AMPLIFIED  | 
FLAT  | 
LARGE_BIOMES  | 
NORMAL  | 
| Modifier and Type | Method and Description | 
|---|---|
static @Nullable WorldType | 
getByName(@NotNull String name)
Gets a WorldType by its name 
 | 
@NotNull String | 
getName()
Gets the name of this WorldType 
 | 
static WorldType | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static WorldType[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final WorldType NORMAL
public static final WorldType FLAT
public static final WorldType LARGE_BIOMES
public static final WorldType AMPLIFIED
public static WorldType[] values()
for (WorldType c : WorldType.values()) System.out.println(c);
public static WorldType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@NotNull public @NotNull String getName()
Copyright © 2022. All rights reserved.