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
named net/minecraft/data/DataOutput$OutputType
intermediary net/minecraft/class_7784$class_7490
official mj$b
  • Enum Constant Details

    • DATA_PACK

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

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

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

    • path

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

    • OutputType

      private OutputType(String path)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/DataOutput$OutputType;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_7784$class_7490;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lmj$b;<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