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

  • Field Details

    • 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
    • getType

      public com.mojang.datafixers.DSL.TypeReference getType()