Package net.minecraft.util.datafix
Enum Class DataFixTypes
- All Implemented Interfaces:
- Serializable,- Comparable<DataFixTypes>,- Constable
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescription
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.DSL.TypeReferencestatic final Set<com.mojang.datafixers.DSL.TypeReference>
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateDataFixTypes(com.mojang.datafixers.DSL.TypeReference p_14503_) 
- 
Method SummaryModifier and TypeMethodDescription(package private) static int<T> com.mojang.serialization.Dynamic<T>update(com.mojang.datafixers.DataFixer p_265388_, com.mojang.serialization.Dynamic<T> p_265179_, int p_265372_, int p_265168_) update(com.mojang.datafixers.DataFixer p_265128_, CompoundTag p_265422_, int p_265549_, int p_265304_) <T> com.mojang.serialization.Dynamic<T>updateToCurrentVersion(com.mojang.datafixers.DataFixer p_265085_, com.mojang.serialization.Dynamic<T> p_265237_, int p_265099_) updateToCurrentVersion(com.mojang.datafixers.DataFixer p_265583_, CompoundTag p_265401_, int p_265111_) static DataFixTypesReturns 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.<A> com.mojang.serialization.Codec<A>wrapCodec(com.mojang.serialization.Codec<A> p_301309_, com.mojang.datafixers.DataFixer p_301075_, int p_300912_) 
- 
Enum Constant Details- 
LEVEL
- 
PLAYER
- 
CHUNK
- 
HOTBAR
- 
OPTIONS
- 
STRUCTURE
- 
STATS
- 
SAVED_DATA_COMMAND_STORAGE
- 
SAVED_DATA_FORCED_CHUNKS
- 
SAVED_DATA_MAP_DATA
- 
SAVED_DATA_MAP_INDEX
- 
SAVED_DATA_RAIDS
- 
SAVED_DATA_RANDOM_SEQUENCES
- 
SAVED_DATA_SCOREBOARD
- 
SAVED_DATA_STRUCTURE_FEATURE_INDICES
- 
ADVANCEMENTS
- 
POI_CHUNK
- 
WORLD_GEN_SETTINGS
- 
ENTITY_CHUNK
 
- 
- 
Field Details- 
TYPES_FOR_LEVEL_LIST
- 
typeprivate final com.mojang.datafixers.DSL.TypeReference type
 
- 
- 
Constructor Details- 
DataFixTypesprivate DataFixTypes(com.mojang.datafixers.DSL.TypeReference p_14503_) 
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
- 
currentVersionstatic int currentVersion()
- 
wrapCodecpublic <A> com.mojang.serialization.Codec<A> wrapCodec(com.mojang.serialization.Codec<A> p_301309_, com.mojang.datafixers.DataFixer p_301075_, int p_300912_) 
- 
updatepublic <T> com.mojang.serialization.Dynamic<T> update(com.mojang.datafixers.DataFixer p_265388_, com.mojang.serialization.Dynamic<T> p_265179_, int p_265372_, int p_265168_) 
- 
updateToCurrentVersionpublic <T> com.mojang.serialization.Dynamic<T> updateToCurrentVersion(com.mojang.datafixers.DataFixer p_265085_, com.mojang.serialization.Dynamic<T> p_265237_, int p_265099_) 
- 
updatepublic CompoundTag update(com.mojang.datafixers.DataFixer p_265128_, CompoundTag p_265422_, int p_265549_, int p_265304_) 
- 
updateToCurrentVersionpublic CompoundTag updateToCurrentVersion(com.mojang.datafixers.DataFixer p_265583_, CompoundTag p_265401_, int p_265111_) 
 
-