public enum DataFixTypes extends Enum<DataFixTypes>
Enum Constant and Description |
---|
ADVANCEMENTS |
CHUNK |
HOTBAR |
LEVEL |
OPTIONS |
PLAYER |
POI_CHUNK |
SAVED_DATA |
STATS |
STRUCTURE |
WORLD_GEN_SETTINGS |
Modifier and Type | Field and Description |
---|---|
private com.mojang.datafixers.DSL.TypeReference |
typeReference |
Modifier and Type | Method and Description |
---|---|
com.mojang.datafixers.DSL.TypeReference |
getTypeReference() |
static DataFixTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataFixTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataFixTypes LEVEL
public static final DataFixTypes PLAYER
public static final DataFixTypes CHUNK
public static final DataFixTypes HOTBAR
public static final DataFixTypes OPTIONS
public static final DataFixTypes STRUCTURE
public static final DataFixTypes STATS
public static final DataFixTypes SAVED_DATA
public static final DataFixTypes ADVANCEMENTS
public static final DataFixTypes POI_CHUNK
public static final DataFixTypes WORLD_GEN_SETTINGS
public static DataFixTypes[] values()
for (DataFixTypes c : DataFixTypes.values()) System.out.println(c);
public static DataFixTypes 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 nullpublic com.mojang.datafixers.DSL.TypeReference getTypeReference()