Enum Class DataFixTypes

All Implemented Interfaces:
Serializable, Comparable<DataFixTypes>, Constable

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

  • Field Details


      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.
      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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • currentVersion

      private static int currentVersion()
    • 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_)