Package net.minecraft.datafixer
Enum Class DataFixTypes
- All Implemented Interfaces:
Serializable,Comparable<DataFixTypes>,Constable
- Mappings:
Namespace Name intermediary net/minecraft/class_4284official aqcnamed 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 ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Set<com.mojang.datafixers.DSL.TypeReference>private final com.mojang.datafixers.DSL.TypeReference -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDataFixTypes(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) Returnsdynamicupdated fromoldVersionto 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) Returnsdynamicupdated fromoldVersiontonewVersion.update(com.mojang.datafixers.DataFixer dataFixer, NbtCompound nbt, int oldVersion) Returnsnbtupdated fromoldVersionto the current version.update(com.mojang.datafixers.DataFixer dataFixer, NbtCompound nbt, int oldVersion, int newVersion) Returnsnbtupdated fromoldVersiontonewVersion.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.
-
Enum Constant Details
-
LEVEL
- Mappings:
Namespace Name Mixin selector intermediary field_19212Lnet/minecraft/class_4284;field_19212:Lnet/minecraft/class_4284;official aLaqc;a:Laqc;named LEVELLnet/minecraft/datafixer/DataFixTypes;LEVEL:Lnet/minecraft/datafixer/DataFixTypes;
-
PLAYER
- Mappings:
Namespace Name Mixin selector intermediary field_19213Lnet/minecraft/class_4284;field_19213:Lnet/minecraft/class_4284;official bLaqc;b:Laqc;named PLAYERLnet/minecraft/datafixer/DataFixTypes;PLAYER:Lnet/minecraft/datafixer/DataFixTypes;
-
CHUNK
- Mappings:
Namespace Name Mixin selector intermediary field_19214Lnet/minecraft/class_4284;field_19214:Lnet/minecraft/class_4284;official cLaqc;c:Laqc;named CHUNKLnet/minecraft/datafixer/DataFixTypes;CHUNK:Lnet/minecraft/datafixer/DataFixTypes;
-
HOTBAR
- Mappings:
Namespace Name Mixin selector intermediary field_19215Lnet/minecraft/class_4284;field_19215:Lnet/minecraft/class_4284;official dLaqc;d:Laqc;named HOTBARLnet/minecraft/datafixer/DataFixTypes;HOTBAR:Lnet/minecraft/datafixer/DataFixTypes;
-
OPTIONS
- Mappings:
Namespace Name Mixin selector intermediary field_19216Lnet/minecraft/class_4284;field_19216:Lnet/minecraft/class_4284;official eLaqc;e:Laqc;named OPTIONSLnet/minecraft/datafixer/DataFixTypes;OPTIONS:Lnet/minecraft/datafixer/DataFixTypes;
-
STRUCTURE
- Mappings:
Namespace Name Mixin selector intermediary field_19217Lnet/minecraft/class_4284;field_19217:Lnet/minecraft/class_4284;official fLaqc;f:Laqc;named STRUCTURELnet/minecraft/datafixer/DataFixTypes;STRUCTURE:Lnet/minecraft/datafixer/DataFixTypes;
-
STATS
- Mappings:
Namespace Name Mixin selector intermediary field_19218Lnet/minecraft/class_4284;field_19218:Lnet/minecraft/class_4284;official gLaqc;g:Laqc;named STATSLnet/minecraft/datafixer/DataFixTypes;STATS:Lnet/minecraft/datafixer/DataFixTypes;
-
SAVED_DATA
- Mappings:
Namespace Name Mixin selector intermediary field_19219Lnet/minecraft/class_4284;field_19219:Lnet/minecraft/class_4284;official hLaqc;h:Laqc;named SAVED_DATALnet/minecraft/datafixer/DataFixTypes;SAVED_DATA:Lnet/minecraft/datafixer/DataFixTypes;
-
ADVANCEMENTS
- Mappings:
Namespace Name Mixin selector intermediary field_19220Lnet/minecraft/class_4284;field_19220:Lnet/minecraft/class_4284;official iLaqc;i:Laqc;named ADVANCEMENTSLnet/minecraft/datafixer/DataFixTypes;ADVANCEMENTS:Lnet/minecraft/datafixer/DataFixTypes;
-
POI_CHUNK
- Mappings:
Namespace Name Mixin selector intermediary field_19221Lnet/minecraft/class_4284;field_19221:Lnet/minecraft/class_4284;official jLaqc;j:Laqc;named POI_CHUNKLnet/minecraft/datafixer/DataFixTypes;POI_CHUNK:Lnet/minecraft/datafixer/DataFixTypes;
-
WORLD_GEN_SETTINGS
- Mappings:
Namespace Name Mixin selector intermediary field_24640Lnet/minecraft/class_4284;field_24640:Lnet/minecraft/class_4284;official kLaqc;k:Laqc;named WORLD_GEN_SETTINGSLnet/minecraft/datafixer/DataFixTypes;WORLD_GEN_SETTINGS:Lnet/minecraft/datafixer/DataFixTypes;
-
ENTITY_CHUNK
- Mappings:
Namespace Name Mixin selector intermediary field_26990Lnet/minecraft/class_4284;field_26990:Lnet/minecraft/class_4284;official lLaqc;l:Laqc;named ENTITY_CHUNKLnet/minecraft/datafixer/DataFixTypes;ENTITY_CHUNK:Lnet/minecraft/datafixer/DataFixTypes;
-
-
Field Details
-
REQUIRED_TYPES
- Mappings:
Namespace Name Mixin selector intermediary field_42975Lnet/minecraft/class_4284;field_42975:Ljava/util/Set;official mLaqc;m:Ljava/util/Set;named REQUIRED_TYPESLnet/minecraft/datafixer/DataFixTypes;REQUIRED_TYPES:Ljava/util/Set;
-
typeReference
private final com.mojang.datafixers.DSL.TypeReference typeReference- Mappings:
Namespace Name Mixin selector intermediary field_19222Lnet/minecraft/class_4284;field_19222:Lcom/mojang/datafixers/DSL$TypeReference;official nLaqc;n:Lcom/mojang/datafixers/DSL$TypeReference;named typeReferenceLnet/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 intermediary <init>Lnet/minecraft/class_4284;<init>(Ljava/lang/String;ILcom/mojang/datafixers/DSL$TypeReference;)Vofficial <init>Laqc;<init>(Ljava/lang/String;ILcom/mojang/datafixers/DSL$TypeReference;)Vnamed <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 intermediary method_48132Lnet/minecraft/class_4284;method_48132()Iofficial aLaqc;a()Inamed getSaveVersionIdLnet/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) Returnsdynamicupdated fromoldVersiontonewVersion.- Returns:
dynamicupdated fromoldVersiontonewVersion- Mappings:
Namespace Name Mixin selector intermediary method_48129Lnet/minecraft/class_4284;method_48129(Lcom/mojang/datafixers/DataFixer;Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;official aLaqc;a(Lcom/mojang/datafixers/DataFixer;Lcom/mojang/serialization/Dynamic;II)Lcom/mojang/serialization/Dynamic;named updateLnet/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) Returnsdynamicupdated fromoldVersionto the current version.- Returns:
dynamicupdated fromoldVersionto the current version- Mappings:
Namespace Name Mixin selector intermediary method_48128Lnet/minecraft/class_4284;method_48128(Lcom/mojang/datafixers/DataFixer;Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;official aLaqc;a(Lcom/mojang/datafixers/DataFixer;Lcom/mojang/serialization/Dynamic;I)Lcom/mojang/serialization/Dynamic;named updateLnet/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) Returnsnbtupdated fromoldVersiontonewVersion.- Returns:
nbtupdated fromoldVersiontonewVersion- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_48131Lnet/minecraft/class_4284;method_48131(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_2487;II)Lnet/minecraft/class_2487;official aLaqc;a(Lcom/mojang/datafixers/DataFixer;Lqr;II)Lqr;named updateLnet/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) Returnsnbtupdated fromoldVersionto the current version.- Returns:
nbtupdated fromoldVersionto the current version- See Also:
- Mappings:
Namespace Name Mixin selector intermediary method_48130Lnet/minecraft/class_4284;method_48130(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_2487;I)Lnet/minecraft/class_2487;official aLaqc;a(Lcom/mojang/datafixers/DataFixer;Lqr;I)Lqr;named updateLnet/minecraft/datafixer/DataFixTypes;update(Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/nbt/NbtCompound;I)Lnet/minecraft/nbt/NbtCompound;
-