Package net.minecraft.datafixer
Enum Class DataFixTypes
- All Implemented Interfaces:
Serializable
,Comparable<DataFixTypes>
,Constable
- Mappings:
Namespace Name official aqa
intermediary net/minecraft/class_4284
named net/minecraft/datafixer/DataFixTypes
-
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 TypeMethodDescriptionprivate 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 official a
Laqa;a:Laqa;
intermediary field_19212
Lnet/minecraft/class_4284;field_19212:Lnet/minecraft/class_4284;
named LEVEL
Lnet/minecraft/datafixer/DataFixTypes;LEVEL:Lnet/minecraft/datafixer/DataFixTypes;
-
PLAYER
- Mappings:
Namespace Name Mixin selector official b
Laqa;b:Laqa;
intermediary field_19213
Lnet/minecraft/class_4284;field_19213:Lnet/minecraft/class_4284;
named PLAYER
Lnet/minecraft/datafixer/DataFixTypes;PLAYER:Lnet/minecraft/datafixer/DataFixTypes;
-
CHUNK
- Mappings:
Namespace Name Mixin selector official c
Laqa;c:Laqa;
intermediary field_19214
Lnet/minecraft/class_4284;field_19214:Lnet/minecraft/class_4284;
named CHUNK
Lnet/minecraft/datafixer/DataFixTypes;CHUNK:Lnet/minecraft/datafixer/DataFixTypes;
-
HOTBAR
- Mappings:
Namespace Name Mixin selector official d
Laqa;d:Laqa;
intermediary field_19215
Lnet/minecraft/class_4284;field_19215:Lnet/minecraft/class_4284;
named HOTBAR
Lnet/minecraft/datafixer/DataFixTypes;HOTBAR:Lnet/minecraft/datafixer/DataFixTypes;
-
OPTIONS
- Mappings:
Namespace Name Mixin selector official e
Laqa;e:Laqa;
intermediary field_19216
Lnet/minecraft/class_4284;field_19216:Lnet/minecraft/class_4284;
named OPTIONS
Lnet/minecraft/datafixer/DataFixTypes;OPTIONS:Lnet/minecraft/datafixer/DataFixTypes;
-
STRUCTURE
- Mappings:
Namespace Name Mixin selector official f
Laqa;f:Laqa;
intermediary field_19217
Lnet/minecraft/class_4284;field_19217:Lnet/minecraft/class_4284;
named STRUCTURE
Lnet/minecraft/datafixer/DataFixTypes;STRUCTURE:Lnet/minecraft/datafixer/DataFixTypes;
-
STATS
- Mappings:
Namespace Name Mixin selector official g
Laqa;g:Laqa;
intermediary field_19218
Lnet/minecraft/class_4284;field_19218:Lnet/minecraft/class_4284;
named STATS
Lnet/minecraft/datafixer/DataFixTypes;STATS:Lnet/minecraft/datafixer/DataFixTypes;
-
SAVED_DATA
- Mappings:
Namespace Name Mixin selector official h
Laqa;h:Laqa;
intermediary field_19219
Lnet/minecraft/class_4284;field_19219:Lnet/minecraft/class_4284;
named SAVED_DATA
Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA:Lnet/minecraft/datafixer/DataFixTypes;
-
ADVANCEMENTS
- Mappings:
Namespace Name Mixin selector official i
Laqa;i:Laqa;
intermediary field_19220
Lnet/minecraft/class_4284;field_19220:Lnet/minecraft/class_4284;
named ADVANCEMENTS
Lnet/minecraft/datafixer/DataFixTypes;ADVANCEMENTS:Lnet/minecraft/datafixer/DataFixTypes;
-
POI_CHUNK
- Mappings:
Namespace Name Mixin selector official j
Laqa;j:Laqa;
intermediary field_19221
Lnet/minecraft/class_4284;field_19221:Lnet/minecraft/class_4284;
named POI_CHUNK
Lnet/minecraft/datafixer/DataFixTypes;POI_CHUNK:Lnet/minecraft/datafixer/DataFixTypes;
-
WORLD_GEN_SETTINGS
- Mappings:
Namespace Name Mixin selector official k
Laqa;k:Laqa;
intermediary field_24640
Lnet/minecraft/class_4284;field_24640:Lnet/minecraft/class_4284;
named WORLD_GEN_SETTINGS
Lnet/minecraft/datafixer/DataFixTypes;WORLD_GEN_SETTINGS:Lnet/minecraft/datafixer/DataFixTypes;
-
ENTITY_CHUNK
- Mappings:
Namespace Name Mixin selector official l
Laqa;l:Laqa;
intermediary field_26990
Lnet/minecraft/class_4284;field_26990:Lnet/minecraft/class_4284;
named ENTITY_CHUNK
Lnet/minecraft/datafixer/DataFixTypes;ENTITY_CHUNK:Lnet/minecraft/datafixer/DataFixTypes;
-
-
Field Details
-
REQUIRED_TYPES
- Mappings:
Namespace Name Mixin selector official m
Laqa;m:Ljava/util/Set;
intermediary field_42975
Lnet/minecraft/class_4284;field_42975:Ljava/util/Set;
named REQUIRED_TYPES
Lnet/minecraft/datafixer/DataFixTypes;REQUIRED_TYPES:Ljava/util/Set;
-
typeReference
private final com.mojang.datafixers.DSL.TypeReference typeReference- Mappings:
Namespace Name Mixin selector official n
Laqa;n:Lcom/mojang/datafixers/DSL$TypeReference;
intermediary field_19222
Lnet/minecraft/class_4284;field_19222:Lcom/mojang/datafixers/DSL$TypeReference;
named typeReference
Lnet/minecraft/datafixer/DataFixTypes;typeReference:Lcom/mojang/datafixers/DSL$TypeReference;
-
-
Constructor Details
-
DataFixTypes
private DataFixTypes(com.mojang.datafixers.DSL.TypeReference typeReference) - Mappings:
Namespace Name Mixin selector official <init>
Laqa;<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
named <init>
Lnet/minecraft/datafixer/DataFixTypes;<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
private static int getSaveVersionId()- Mappings:
Namespace Name Mixin selector official a
Laqa;a()I
intermediary method_48132
Lnet/minecraft/class_4284;method_48132()I
named getSaveVersionId
Lnet/minecraft/datafixer/DataFixTypes;getSaveVersionId()I
-
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 official a
Laqa;a(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;
named update
Lnet/minecraft/datafixer/DataFixTypes;update(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 official a
Laqa;a(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;
named update
Lnet/minecraft/datafixer/DataFixTypes;update(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 official a
Laqa;a(Lcom/mojang/datafixers/DataFixer;Lqr;II)Lqr;
intermediary method_48131
Lnet/minecraft/class_4284;method_48131(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_2487;II)Lnet/minecraft/class_2487;
named update
Lnet/minecraft/datafixer/DataFixTypes;update(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/nbt/NbtCompound;II)Lnet/minecraft/nbt/NbtCompound;
-
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 official a
Laqa;a(Lcom/mojang/datafixers/DataFixer;Lqr;I)Lqr;
intermediary method_48130
Lnet/minecraft/class_4284;method_48130(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_2487;I)Lnet/minecraft/class_2487;
named update
Lnet/minecraft/datafixer/DataFixTypes;update(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/nbt/NbtCompound;I)Lnet/minecraft/nbt/NbtCompound;
-