Enum Class DataFixTypes

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

public enum DataFixTypes extends Enum<DataFixTypes>
  • Enum Constant Details

    • LEVEL

      public static final DataFixTypes LEVEL
    • PLAYER

      public static final DataFixTypes PLAYER
    • CHUNK

      public static final DataFixTypes CHUNK
    • HOTBAR

      public static final DataFixTypes HOTBAR
    • OPTIONS

      public static final DataFixTypes OPTIONS
    • STRUCTURE

      public static final DataFixTypes STRUCTURE
    • STATS

      public static final DataFixTypes STATS
    • SAVED_DATA_COMMAND_STORAGE

      public static final DataFixTypes SAVED_DATA_COMMAND_STORAGE
    • SAVED_DATA_FORCED_CHUNKS

      public static final DataFixTypes SAVED_DATA_FORCED_CHUNKS
    • SAVED_DATA_MAP_DATA

      public static final DataFixTypes SAVED_DATA_MAP_DATA
    • SAVED_DATA_MAP_INDEX

      public static final DataFixTypes SAVED_DATA_MAP_INDEX
    • SAVED_DATA_RAIDS

      public static final DataFixTypes SAVED_DATA_RAIDS
    • SAVED_DATA_RANDOM_SEQUENCES

      public static final DataFixTypes SAVED_DATA_RANDOM_SEQUENCES
    • SAVED_DATA_SCOREBOARD

      public static final DataFixTypes SAVED_DATA_SCOREBOARD
    • SAVED_DATA_STRUCTURE_FEATURE_INDICES

      public static final DataFixTypes SAVED_DATA_STRUCTURE_FEATURE_INDICES
    • ADVANCEMENTS

      public static final DataFixTypes ADVANCEMENTS
    • POI_CHUNK

      public static final DataFixTypes POI_CHUNK
    • WORLD_GEN_SETTINGS

      public static final DataFixTypes WORLD_GEN_SETTINGS
    • ENTITY_CHUNK

      public static final DataFixTypes ENTITY_CHUNK
  • Field Details

    • TYPES_FOR_LEVEL_LIST

      public static final Set<com.mojang.datafixers.DSL.TypeReference> TYPES_FOR_LEVEL_LIST
    • type

      private final com.mojang.datafixers.DSL.TypeReference type
  • Constructor Details

    • DataFixTypes

      private DataFixTypes(com.mojang.datafixers.DSL.TypeReference p_14503_)
  • 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
    • currentVersion

      static int currentVersion()
    • wrapCodec

      public <A> com.mojang.serialization.Codec<A> wrapCodec(com.mojang.serialization.Codec<A> p_301309_, com.mojang.datafixers.DataFixer p_301075_, int p_300912_)
    • update

      public <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_)
    • updateToCurrentVersion

      public <T> com.mojang.serialization.Dynamic<T> updateToCurrentVersion(com.mojang.datafixers.DataFixer p_265085_, com.mojang.serialization.Dynamic<T> p_265237_, int p_265099_)
    • update

      public CompoundTag update(com.mojang.datafixers.DataFixer p_265128_, CompoundTag p_265422_, int p_265549_, int p_265304_)
    • updateToCurrentVersion

      public CompoundTag updateToCurrentVersion(com.mojang.datafixers.DataFixer p_265583_, CompoundTag p_265401_, int p_265111_)