Package net.minecraft.util.datafix
Enum Class DataFixTypes
- All Implemented Interfaces:
Serializable
,Comparable<DataFixTypes>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
DataFixTypes
(com.mojang.datafixers.DSL.TypeReference p_14503_) -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.datafixers.DSL.TypeReference
getType()
static DataFixTypes
Returns the enum constant of this class with the specified name.static DataFixTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEVEL
-
PLAYER
-
CHUNK
-
HOTBAR
-
OPTIONS
-
STRUCTURE
-
STATS
-
SAVED_DATA
-
ADVANCEMENTS
-
POI_CHUNK
-
WORLD_GEN_SETTINGS
-
ENTITY_CHUNK
-
-
Field Details
-
type
private final com.mojang.datafixers.DSL.TypeReference type
-
-
Constructor Details
-
DataFixTypes
private DataFixTypes(com.mojang.datafixers.DSL.TypeReference p_14503_)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getType
public com.mojang.datafixers.DSL.TypeReference getType()
-