Enum Class DataOutput.OutputType

java.lang.Object
java.lang.Enum<DataOutput.OutputType>
net.minecraft.data.DataOutput.OutputType
All Implemented Interfaces:
Serializable, Comparable<DataOutput.OutputType>, Constable
Enclosing class:
DataOutput

public static enum DataOutput.OutputType extends Enum<DataOutput.OutputType>
Mappings:
Namespace Name
official km$b
intermediary net/minecraft/class_7784$class_7490
named net/minecraft/data/DataOutput$OutputType
  • Enum Constant Details

    • DATA_PACK

      public static final DataOutput.OutputType DATA_PACK
      Mappings:
      Namespace Name Mixin selector
      official a Lkm$b;a:Lkm$b;
      intermediary field_39367 Lnet/minecraft/class_7784$class_7490;field_39367:Lnet/minecraft/class_7784$class_7490;
      named DATA_PACK Lnet/minecraft/data/DataOutput$OutputType;DATA_PACK:Lnet/minecraft/data/DataOutput$OutputType;
    • RESOURCE_PACK

      public static final DataOutput.OutputType RESOURCE_PACK
      Mappings:
      Namespace Name Mixin selector
      official b Lkm$b;b:Lkm$b;
      intermediary field_39368 Lnet/minecraft/class_7784$class_7490;field_39368:Lnet/minecraft/class_7784$class_7490;
      named RESOURCE_PACK Lnet/minecraft/data/DataOutput$OutputType;RESOURCE_PACK:Lnet/minecraft/data/DataOutput$OutputType;
    • REPORTS

      public static final DataOutput.OutputType REPORTS
      Mappings:
      Namespace Name Mixin selector
      official c Lkm$b;c:Lkm$b;
      intermediary field_39369 Lnet/minecraft/class_7784$class_7490;field_39369:Lnet/minecraft/class_7784$class_7490;
      named REPORTS Lnet/minecraft/data/DataOutput$OutputType;REPORTS:Lnet/minecraft/data/DataOutput$OutputType;
  • Field Details

    • path

      final String path
      Mappings:
      Namespace Name Mixin selector
      official d Lkm$b;d:Ljava/lang/String;
      intermediary field_39370 Lnet/minecraft/class_7784$class_7490;field_39370:Ljava/lang/String;
      named path Lnet/minecraft/data/DataOutput$OutputType;path:Ljava/lang/String;
  • Constructor Details

    • OutputType

      private OutputType(String path)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lkm$b;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7784$class_7490;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/data/DataOutput$OutputType;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static DataOutput.OutputType[] 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 DataOutput.OutputType 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