Package net.minecraft.datafixer
Enum Class DataFixTypes
- All Implemented Interfaces:
Serializable
,Comparable<DataFixTypes>
,Constable
- Mappings:
Namespace Name named net/minecraft/datafixer/DataFixTypes
intermediary net/minecraft/class_4284
official azw
-
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
Modifier and TypeFieldDescriptionstatic final Set
<com.mojang.datafixers.DSL.TypeReference> private final com.mojang.datafixers.DSL.TypeReference
-
Constructor Summary
ModifierConstructorDescriptionprivate
DataFixTypes
(com.mojang.datafixers.DSL.TypeReference typeReference) -
Method Summary
Modifier and TypeMethodDescription<A> com.mojang.serialization.Codec
<A> createDataFixingCodec
(com.mojang.serialization.Codec<A> baseCodec, com.mojang.datafixers.DataFixer dataFixer, int currentDataVersion) (package private) static int
<T> com.mojang.serialization.Dynamic
<T> update
(com.mojang.datafixers.DataFixer dataFixer, com.mojang.serialization.Dynamic<T> dynamic, int oldVersion) Returnsdynamic
updated fromoldVersion
to the current version.<T> com.mojang.serialization.Dynamic
<T> update
(com.mojang.datafixers.DataFixer dataFixer, com.mojang.serialization.Dynamic<T> dynamic, int oldVersion, int newVersion) Returnsdynamic
updated fromoldVersion
tonewVersion
.update
(com.mojang.datafixers.DataFixer dataFixer, NbtCompound nbt, int oldVersion) Returnsnbt
updated fromoldVersion
to the current version.update
(com.mojang.datafixers.DataFixer dataFixer, NbtCompound nbt, int oldVersion, int newVersion) Returnsnbt
updated fromoldVersion
tonewVersion
.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
- Mappings:
Namespace Name Mixin selector named LEVEL
Lnet/minecraft/datafixer/DataFixTypes;LEVEL:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_19212
Lnet/minecraft/class_4284;field_19212:Lnet/minecraft/class_4284;
official a
Lazw;a:Lazw;
-
PLAYER
- Mappings:
Namespace Name Mixin selector named PLAYER
Lnet/minecraft/datafixer/DataFixTypes;PLAYER:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_19213
Lnet/minecraft/class_4284;field_19213:Lnet/minecraft/class_4284;
official b
Lazw;b:Lazw;
-
CHUNK
- Mappings:
Namespace Name Mixin selector named CHUNK
Lnet/minecraft/datafixer/DataFixTypes;CHUNK:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_19214
Lnet/minecraft/class_4284;field_19214:Lnet/minecraft/class_4284;
official c
Lazw;c:Lazw;
-
HOTBAR
- Mappings:
Namespace Name Mixin selector named HOTBAR
Lnet/minecraft/datafixer/DataFixTypes;HOTBAR:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_19215
Lnet/minecraft/class_4284;field_19215:Lnet/minecraft/class_4284;
official d
Lazw;d:Lazw;
-
OPTIONS
- Mappings:
Namespace Name Mixin selector named OPTIONS
Lnet/minecraft/datafixer/DataFixTypes;OPTIONS:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_19216
Lnet/minecraft/class_4284;field_19216:Lnet/minecraft/class_4284;
official e
Lazw;e:Lazw;
-
STRUCTURE
- Mappings:
Namespace Name Mixin selector named STRUCTURE
Lnet/minecraft/datafixer/DataFixTypes;STRUCTURE:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_19217
Lnet/minecraft/class_4284;field_19217:Lnet/minecraft/class_4284;
official f
Lazw;f:Lazw;
-
STATS
- Mappings:
Namespace Name Mixin selector named STATS
Lnet/minecraft/datafixer/DataFixTypes;STATS:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_19218
Lnet/minecraft/class_4284;field_19218:Lnet/minecraft/class_4284;
official g
Lazw;g:Lazw;
-
SAVED_DATA_COMMAND_STORAGE
- Mappings:
Namespace Name Mixin selector named SAVED_DATA_COMMAND_STORAGE
Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_COMMAND_STORAGE:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_45077
Lnet/minecraft/class_4284;field_45077:Lnet/minecraft/class_4284;
official h
Lazw;h:Lazw;
-
SAVED_DATA_FORCED_CHUNKS
- Mappings:
Namespace Name Mixin selector named SAVED_DATA_FORCED_CHUNKS
Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_FORCED_CHUNKS:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_45078
Lnet/minecraft/class_4284;field_45078:Lnet/minecraft/class_4284;
official i
Lazw;i:Lazw;
-
SAVED_DATA_MAP_DATA
- Mappings:
Namespace Name Mixin selector named SAVED_DATA_MAP_DATA
Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_MAP_DATA:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_45079
Lnet/minecraft/class_4284;field_45079:Lnet/minecraft/class_4284;
official j
Lazw;j:Lazw;
-
SAVED_DATA_MAP_INDEX
- Mappings:
Namespace Name Mixin selector named SAVED_DATA_MAP_INDEX
Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_MAP_INDEX:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_45080
Lnet/minecraft/class_4284;field_45080:Lnet/minecraft/class_4284;
official k
Lazw;k:Lazw;
-
SAVED_DATA_RAIDS
- Mappings:
Namespace Name Mixin selector named SAVED_DATA_RAIDS
Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_RAIDS:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_45081
Lnet/minecraft/class_4284;field_45081:Lnet/minecraft/class_4284;
official l
Lazw;l:Lazw;
-
SAVED_DATA_RANDOM_SEQUENCES
- Mappings:
Namespace Name Mixin selector named SAVED_DATA_RANDOM_SEQUENCES
Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_RANDOM_SEQUENCES:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_45082
Lnet/minecraft/class_4284;field_45082:Lnet/minecraft/class_4284;
official m
Lazw;m:Lazw;
-
SAVED_DATA_SCOREBOARD
- Mappings:
Namespace Name Mixin selector named SAVED_DATA_SCOREBOARD
Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_SCOREBOARD:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_45083
Lnet/minecraft/class_4284;field_45083:Lnet/minecraft/class_4284;
official n
Lazw;n:Lazw;
-
SAVED_DATA_STRUCTURE_FEATURE_INDICES
- Mappings:
Namespace Name Mixin selector named SAVED_DATA_STRUCTURE_FEATURE_INDICES
Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_STRUCTURE_FEATURE_INDICES:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_45084
Lnet/minecraft/class_4284;field_45084:Lnet/minecraft/class_4284;
official o
Lazw;o:Lazw;
-
ADVANCEMENTS
- Mappings:
Namespace Name Mixin selector named ADVANCEMENTS
Lnet/minecraft/datafixer/DataFixTypes;ADVANCEMENTS:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_19220
Lnet/minecraft/class_4284;field_19220:Lnet/minecraft/class_4284;
official p
Lazw;p:Lazw;
-
POI_CHUNK
- Mappings:
Namespace Name Mixin selector named POI_CHUNK
Lnet/minecraft/datafixer/DataFixTypes;POI_CHUNK:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_19221
Lnet/minecraft/class_4284;field_19221:Lnet/minecraft/class_4284;
official q
Lazw;q:Lazw;
-
WORLD_GEN_SETTINGS
- Mappings:
Namespace Name Mixin selector named WORLD_GEN_SETTINGS
Lnet/minecraft/datafixer/DataFixTypes;WORLD_GEN_SETTINGS:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_24640
Lnet/minecraft/class_4284;field_24640:Lnet/minecraft/class_4284;
official r
Lazw;r:Lazw;
-
ENTITY_CHUNK
- Mappings:
Namespace Name Mixin selector named ENTITY_CHUNK
Lnet/minecraft/datafixer/DataFixTypes;ENTITY_CHUNK:Lnet/minecraft/datafixer/DataFixTypes;
intermediary field_26990
Lnet/minecraft/class_4284;field_26990:Lnet/minecraft/class_4284;
official s
Lazw;s:Lazw;
-
-
Field Details
-
REQUIRED_TYPES
- Mappings:
Namespace Name Mixin selector named REQUIRED_TYPES
Lnet/minecraft/datafixer/DataFixTypes;REQUIRED_TYPES:Ljava/util/Set;
intermediary field_42975
Lnet/minecraft/class_4284;field_42975:Ljava/util/Set;
official t
Lazw;t:Ljava/util/Set;
-
typeReference
private final com.mojang.datafixers.DSL.TypeReference typeReference- Mappings:
Namespace Name Mixin selector named typeReference
Lnet/minecraft/datafixer/DataFixTypes;typeReference:Lcom/mojang/datafixers/DSL$TypeReference;
intermediary field_19222
Lnet/minecraft/class_4284;field_19222:Lcom/mojang/datafixers/DSL$TypeReference;
official u
Lazw;u:Lcom/mojang/datafixers/DSL$TypeReference;
-
-
Constructor Details
-
DataFixTypes
private DataFixTypes(com.mojang.datafixers.DSL.TypeReference typeReference) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/datafixer/DataFixTypes;<init>(Ljava/lang/String;ILcom/mojang/datafixers/DSL$TypeReference;)V
intermediary <init>
Lnet/minecraft/class_4284;<init>(Ljava/lang/String;ILcom/mojang/datafixers/DSL$TypeReference;)V
official <init>
Lazw;<init>(Ljava/lang/String;ILcom/mojang/datafixers/DSL$TypeReference;)V
-
-
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
-
getSaveVersionId
static int getSaveVersionId()- Mappings:
Namespace Name Mixin selector named getSaveVersionId
Lnet/minecraft/datafixer/DataFixTypes;getSaveVersionId()I
intermediary method_48132
Lnet/minecraft/class_4284;method_48132()I
official a
Lazw;a()I
-
createDataFixingCodec
public <A> com.mojang.serialization.Codec<A> createDataFixingCodec(com.mojang.serialization.Codec<A> baseCodec, com.mojang.datafixers.DataFixer dataFixer, int currentDataVersion) - Mappings:
Namespace Name Mixin selector named createDataFixingCodec
Lnet/minecraft/datafixer/DataFixTypes;createDataFixingCodec(Lcom/mojang/serialization/Codec;Lcom/mojang/datafixers/DataFixer;I)Lcom/mojang/serialization/Codec;
intermediary method_53711
Lnet/minecraft/class_4284;method_53711(Lcom/mojang/serialization/Codec;Lcom/mojang/datafixers/DataFixer;I)Lcom/mojang/serialization/Codec;
official a
Lazw;a(Lcom/mojang/serialization/Codec;Lcom/mojang/datafixers/DataFixer;I)Lcom/mojang/serialization/Codec;
-
update
public <T> com.mojang.serialization.Dynamic<T> update(com.mojang.datafixers.DataFixer dataFixer, com.mojang.serialization.Dynamic<T> dynamic, int oldVersion, int newVersion) Returnsdynamic
updated fromoldVersion
tonewVersion
.- Returns:
dynamic
updated fromoldVersion
tonewVersion
- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/datafixer/DataFixTypes;update(Lcom/mojang/datafixers/DataFixer;Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;
intermediary method_48129
Lnet/minecraft/class_4284;method_48129(Lcom/mojang/datafixers/DataFixer;Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;
official a
Lazw;a(Lcom/mojang/datafixers/DataFixer;Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;
-
update
public <T> com.mojang.serialization.Dynamic<T> update(com.mojang.datafixers.DataFixer dataFixer, com.mojang.serialization.Dynamic<T> dynamic, int oldVersion) Returnsdynamic
updated fromoldVersion
to the current version.- Returns:
dynamic
updated fromoldVersion
to the current version- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/datafixer/DataFixTypes;update(Lcom/mojang/datafixers/DataFixer;Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;
intermediary method_48128
Lnet/minecraft/class_4284;method_48128(Lcom/mojang/datafixers/DataFixer;Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;
official a
Lazw;a(Lcom/mojang/datafixers/DataFixer;Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;
-
update
public NbtCompound update(com.mojang.datafixers.DataFixer dataFixer, NbtCompound nbt, int oldVersion, int newVersion) Returnsnbt
updated fromoldVersion
tonewVersion
.- Returns:
nbt
updated fromoldVersion
tonewVersion
- See Also:
- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/datafixer/DataFixTypes;update(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/nbt/NbtCompound;II)Lnet/minecraft/nbt/NbtCompound;
intermediary method_48131
Lnet/minecraft/class_4284;method_48131(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_2487;II)Lnet/minecraft/class_2487;
official a
Lazw;a(Lcom/mojang/datafixers/DataFixer;Lub;II)Lub;
-
update
public NbtCompound update(com.mojang.datafixers.DataFixer dataFixer, NbtCompound nbt, int oldVersion) Returnsnbt
updated fromoldVersion
to the current version.- Returns:
nbt
updated fromoldVersion
to the current version- See Also:
- Mappings:
Namespace Name Mixin selector named update
Lnet/minecraft/datafixer/DataFixTypes;update(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/nbt/NbtCompound;I)Lnet/minecraft/nbt/NbtCompound;
intermediary method_48130
Lnet/minecraft/class_4284;method_48130(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_2487;I)Lnet/minecraft/class_2487;
official a
Lazw;a(Lcom/mojang/datafixers/DataFixer;Lub;I)Lub;
-