Enum Class ManagementError

java.lang.Object
java.lang.Enum<ManagementError>
net.minecraft.server.dedicated.management.ManagementError
All Implemented Interfaces:
Serializable, Comparable<ManagementError>, Constable

public enum ManagementError extends Enum<ManagementError>
Mappings:
Namespace Name
named net/minecraft/server/dedicated/management/ManagementError
intermediary net/minecraft/class_11803
official atk
  • Enum Constant Details

    • PARSE_ERROR

      public static final ManagementError PARSE_ERROR
      Mappings:
      Namespace Name Mixin selector
      named PARSE_ERROR Lnet/minecraft/server/dedicated/management/ManagementError;PARSE_ERROR:Lnet/minecraft/server/dedicated/management/ManagementError;
      intermediary field_62300 Lnet/minecraft/class_11803;field_62300:Lnet/minecraft/class_11803;
      official a Latk;a:Latk;
    • INVALID_REQUEST

      public static final ManagementError INVALID_REQUEST
      Mappings:
      Namespace Name Mixin selector
      named INVALID_REQUEST Lnet/minecraft/server/dedicated/management/ManagementError;INVALID_REQUEST:Lnet/minecraft/server/dedicated/management/ManagementError;
      intermediary field_62301 Lnet/minecraft/class_11803;field_62301:Lnet/minecraft/class_11803;
      official b Latk;b:Latk;
    • METHOD_NOT_FOUND

      public static final ManagementError METHOD_NOT_FOUND
      Mappings:
      Namespace Name Mixin selector
      named METHOD_NOT_FOUND Lnet/minecraft/server/dedicated/management/ManagementError;METHOD_NOT_FOUND:Lnet/minecraft/server/dedicated/management/ManagementError;
      intermediary field_62302 Lnet/minecraft/class_11803;field_62302:Lnet/minecraft/class_11803;
      official c Latk;c:Latk;
    • INVALID_PARAMS

      public static final ManagementError INVALID_PARAMS
      Mappings:
      Namespace Name Mixin selector
      named INVALID_PARAMS Lnet/minecraft/server/dedicated/management/ManagementError;INVALID_PARAMS:Lnet/minecraft/server/dedicated/management/ManagementError;
      intermediary field_62303 Lnet/minecraft/class_11803;field_62303:Lnet/minecraft/class_11803;
      official d Latk;d:Latk;
    • INTERNAL_ERROR

      public static final ManagementError INTERNAL_ERROR
      Mappings:
      Namespace Name Mixin selector
      named INTERNAL_ERROR Lnet/minecraft/server/dedicated/management/ManagementError;INTERNAL_ERROR:Lnet/minecraft/server/dedicated/management/ManagementError;
      intermediary field_62304 Lnet/minecraft/class_11803;field_62304:Lnet/minecraft/class_11803;
      official e Latk;e:Latk;
  • Field Details

    • code

      private final int code
      Mappings:
      Namespace Name Mixin selector
      named code Lnet/minecraft/server/dedicated/management/ManagementError;code:I
      intermediary field_62305 Lnet/minecraft/class_11803;field_62305:I
      official f Latk;f:I
    • message

      private final String message
      Mappings:
      Namespace Name Mixin selector
      named message Lnet/minecraft/server/dedicated/management/ManagementError;message:Ljava/lang/String;
      intermediary field_62306 Lnet/minecraft/class_11803;field_62306:Ljava/lang/String;
      official g Latk;g:Ljava/lang/String;
  • Constructor Details

    • ManagementError

      private ManagementError(int code, String message)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/dedicated/management/ManagementError;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_11803;<init>(Ljava/lang/String;IILjava/lang/String;)V
      official <init> Latk;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static ManagementError[] 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 ManagementError 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
    • encode

      public JsonObject encode(@Nullable @Nullable String data)
      Mappings:
      Namespace Name Mixin selector
      named encode Lnet/minecraft/server/dedicated/management/ManagementError;encode(Ljava/lang/String;)Lcom/google/gson/JsonObject;
      intermediary method_74474 Lnet/minecraft/class_11803;method_74474(Ljava/lang/String;)Lcom/google/gson/JsonObject;
      official a Latk;a(Ljava/lang/String;)Lcom/google/gson/JsonObject;
    • encode

      public JsonObject encode(JsonElement json)
      Mappings:
      Namespace Name Mixin selector
      named encode Lnet/minecraft/server/dedicated/management/ManagementError;encode(Lcom/google/gson/JsonElement;)Lcom/google/gson/JsonObject;
      intermediary method_74473 Lnet/minecraft/class_11803;method_74473(Lcom/google/gson/JsonElement;)Lcom/google/gson/JsonObject;
      official a Latk;a(Lcom/google/gson/JsonElement;)Lcom/google/gson/JsonObject;
    • encode

      public JsonObject encode(JsonElement json, String data)
      Mappings:
      Namespace Name Mixin selector
      named encode Lnet/minecraft/server/dedicated/management/ManagementError;encode(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonObject;
      intermediary method_73646 Lnet/minecraft/class_11803;method_73646(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonObject;
      official a Latk;a(Lcom/google/gson/JsonElement;Ljava/lang/String;)Lcom/google/gson/JsonObject;