Enum Class DataPackStructureProvider.Format

java.lang.Object
java.lang.Enum<DataPackStructureProvider.Format>
net.minecraft.data.report.DataPackStructureProvider.Format
All Implemented Interfaces:
Serializable, Comparable<DataPackStructureProvider.Format>, Constable, StringIdentifiable
Enclosing class:
DataPackStructureProvider

private static enum DataPackStructureProvider.Format extends Enum<DataPackStructureProvider.Format> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/data/report/DataPackStructureProvider$Format
intermediary net/minecraft/class_10107$class_10110
official mz$c
  • Enum Constant Details

    • STRUCTURE

      public static final DataPackStructureProvider.Format STRUCTURE
      Mappings:
      Namespace Name Mixin selector
      named STRUCTURE Lnet/minecraft/data/report/DataPackStructureProvider$Format;STRUCTURE:Lnet/minecraft/data/report/DataPackStructureProvider$Format;
      intermediary field_53708 Lnet/minecraft/class_10107$class_10110;field_53708:Lnet/minecraft/class_10107$class_10110;
      official a Lmz$c;a:Lmz$c;
    • MCFUNCTION

      public static final DataPackStructureProvider.Format MCFUNCTION
      Mappings:
      Namespace Name Mixin selector
      named MCFUNCTION Lnet/minecraft/data/report/DataPackStructureProvider$Format;MCFUNCTION:Lnet/minecraft/data/report/DataPackStructureProvider$Format;
      intermediary field_53709 Lnet/minecraft/class_10107$class_10110;field_53709:Lnet/minecraft/class_10107$class_10110;
      official b Lmz$c;b:Lmz$c;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<DataPackStructureProvider.Format> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/data/report/DataPackStructureProvider$Format;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_53710 Lnet/minecraft/class_10107$class_10110;field_53710:Lcom/mojang/serialization/Codec;
      official c Lmz$c;c:Lcom/mojang/serialization/Codec;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/data/report/DataPackStructureProvider$Format;id:Ljava/lang/String;
      intermediary field_53711 Lnet/minecraft/class_10107$class_10110;field_53711:Ljava/lang/String;
      official d Lmz$c;d:Ljava/lang/String;
  • Constructor Details

    • Format

      private Format(String id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/report/DataPackStructureProvider$Format;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_10107$class_10110;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lmz$c;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static DataPackStructureProvider.Format[] 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 DataPackStructureProvider.Format 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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lbba;c()Ljava/lang/String;