Enum Class DataFixTypes

java.lang.Object
java.lang.Enum<DataFixTypes>
net.minecraft.datafixer.DataFixTypes
All Implemented Interfaces:
Serializable, Comparable<DataFixTypes>, Constable

public enum DataFixTypes extends Enum<DataFixTypes>
Mappings:
Namespace Name
official ata
intermediary net/minecraft/class_4284
named net/minecraft/datafixer/DataFixTypes
  • Enum Constant Details

    • LEVEL

      public static final DataFixTypes LEVEL
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a:Lata;
      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

      public static final DataFixTypes PLAYER
      Mappings:
      Namespace Name Mixin selector
      official b Lata;b:Lata;
      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

      public static final DataFixTypes CHUNK
      Mappings:
      Namespace Name Mixin selector
      official c Lata;c:Lata;
      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

      public static final DataFixTypes HOTBAR
      Mappings:
      Namespace Name Mixin selector
      official d Lata;d:Lata;
      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

      public static final DataFixTypes OPTIONS
      Mappings:
      Namespace Name Mixin selector
      official e Lata;e:Lata;
      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

      public static final DataFixTypes STRUCTURE
      Mappings:
      Namespace Name Mixin selector
      official f Lata;f:Lata;
      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

      public static final DataFixTypes STATS
      Mappings:
      Namespace Name Mixin selector
      official g Lata;g:Lata;
      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_COMMAND_STORAGE

      public static final DataFixTypes SAVED_DATA_COMMAND_STORAGE
      Mappings:
      Namespace Name Mixin selector
      official h Lata;h:Lata;
      intermediary field_45077 Lnet/minecraft/class_4284;field_45077:Lnet/minecraft/class_4284;
      named SAVED_DATA_COMMAND_STORAGE Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_COMMAND_STORAGE:Lnet/minecraft/datafixer/DataFixTypes;
    • SAVED_DATA_FORCED_CHUNKS

      public static final DataFixTypes SAVED_DATA_FORCED_CHUNKS
      Mappings:
      Namespace Name Mixin selector
      official i Lata;i:Lata;
      intermediary field_45078 Lnet/minecraft/class_4284;field_45078:Lnet/minecraft/class_4284;
      named SAVED_DATA_FORCED_CHUNKS Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_FORCED_CHUNKS:Lnet/minecraft/datafixer/DataFixTypes;
    • SAVED_DATA_MAP_DATA

      public static final DataFixTypes SAVED_DATA_MAP_DATA
      Mappings:
      Namespace Name Mixin selector
      official j Lata;j:Lata;
      intermediary field_45079 Lnet/minecraft/class_4284;field_45079:Lnet/minecraft/class_4284;
      named SAVED_DATA_MAP_DATA Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_MAP_DATA:Lnet/minecraft/datafixer/DataFixTypes;
    • SAVED_DATA_MAP_INDEX

      public static final DataFixTypes SAVED_DATA_MAP_INDEX
      Mappings:
      Namespace Name Mixin selector
      official k Lata;k:Lata;
      intermediary field_45080 Lnet/minecraft/class_4284;field_45080:Lnet/minecraft/class_4284;
      named SAVED_DATA_MAP_INDEX Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_MAP_INDEX:Lnet/minecraft/datafixer/DataFixTypes;
    • SAVED_DATA_RAIDS

      public static final DataFixTypes SAVED_DATA_RAIDS
      Mappings:
      Namespace Name Mixin selector
      official l Lata;l:Lata;
      intermediary field_45081 Lnet/minecraft/class_4284;field_45081:Lnet/minecraft/class_4284;
      named SAVED_DATA_RAIDS Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_RAIDS:Lnet/minecraft/datafixer/DataFixTypes;
    • SAVED_DATA_RANDOM_SEQUENCES

      public static final DataFixTypes SAVED_DATA_RANDOM_SEQUENCES
      Mappings:
      Namespace Name Mixin selector
      official m Lata;m:Lata;
      intermediary field_45082 Lnet/minecraft/class_4284;field_45082:Lnet/minecraft/class_4284;
      named SAVED_DATA_RANDOM_SEQUENCES Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_RANDOM_SEQUENCES:Lnet/minecraft/datafixer/DataFixTypes;
    • SAVED_DATA_SCOREBOARD

      public static final DataFixTypes SAVED_DATA_SCOREBOARD
      Mappings:
      Namespace Name Mixin selector
      official n Lata;n:Lata;
      intermediary field_45083 Lnet/minecraft/class_4284;field_45083:Lnet/minecraft/class_4284;
      named SAVED_DATA_SCOREBOARD Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_SCOREBOARD:Lnet/minecraft/datafixer/DataFixTypes;
    • SAVED_DATA_STRUCTURE_FEATURE_INDICES

      public static final DataFixTypes SAVED_DATA_STRUCTURE_FEATURE_INDICES
      Mappings:
      Namespace Name Mixin selector
      official o Lata;o:Lata;
      intermediary field_45084 Lnet/minecraft/class_4284;field_45084:Lnet/minecraft/class_4284;
      named SAVED_DATA_STRUCTURE_FEATURE_INDICES Lnet/minecraft/datafixer/DataFixTypes;SAVED_DATA_STRUCTURE_FEATURE_INDICES:Lnet/minecraft/datafixer/DataFixTypes;
    • ADVANCEMENTS

      public static final DataFixTypes ADVANCEMENTS
      Mappings:
      Namespace Name Mixin selector
      official p Lata;p:Lata;
      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

      public static final DataFixTypes POI_CHUNK
      Mappings:
      Namespace Name Mixin selector
      official q Lata;q:Lata;
      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

      public static final DataFixTypes WORLD_GEN_SETTINGS
      Mappings:
      Namespace Name Mixin selector
      official r Lata;r:Lata;
      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

      public static final DataFixTypes ENTITY_CHUNK
      Mappings:
      Namespace Name Mixin selector
      official s Lata;s:Lata;
      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

      public static final Set<com.mojang.datafixers.DSL.TypeReference> REQUIRED_TYPES
      Mappings:
      Namespace Name Mixin selector
      official t Lata;t: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 u Lata;u: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> Lata;<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

      public static DataFixTypes[] 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

      public static DataFixTypes valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getSaveVersionId

      static int getSaveVersionId()
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a()I
      intermediary method_48132 Lnet/minecraft/class_4284;method_48132()I
      named getSaveVersionId Lnet/minecraft/datafixer/DataFixTypes;getSaveVersionId()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
      official a Lata;a(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;
      named createDataFixingCodec Lnet/minecraft/datafixer/DataFixTypes;createDataFixingCodec(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)
      Returns dynamic updated from oldVersion to newVersion.
      Returns:
      dynamic updated from oldVersion to newVersion
      Mappings:
      Namespace Name Mixin selector
      official a Lata;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)
      Returns dynamic updated from oldVersion to the current version.
      Returns:
      dynamic updated from oldVersion to the current version
      Mappings:
      Namespace Name Mixin selector
      official a Lata;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)
      Returns nbt updated from oldVersion to newVersion.
      Returns:
      nbt updated from oldVersion to newVersion
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a(Lcom/mojang/datafixers/DataFixer;Lqw;II)Lqw;
      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)
      Returns nbt updated from oldVersion to the current version.
      Returns:
      nbt updated from oldVersion to the current version
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lata;a(Lcom/mojang/datafixers/DataFixer;Lqw;I)Lqw;
      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;