Enum Class GameRuleRpcDispatcher.GameRuleType

java.lang.Object
java.lang.Enum<GameRuleRpcDispatcher.GameRuleType>
net.minecraft.server.dedicated.management.dispatch.GameRuleRpcDispatcher.GameRuleType
All Implemented Interfaces:
Serializable, Comparable<GameRuleRpcDispatcher.GameRuleType>, Constable, StringIdentifiable
Enclosing class:
GameRuleRpcDispatcher

public static enum GameRuleRpcDispatcher.GameRuleType extends Enum<GameRuleRpcDispatcher.GameRuleType> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType
intermediary net/minecraft/class_11844$class_11845
official avq$a
  • Enum Constant Details

    • INT

      public static final GameRuleRpcDispatcher.GameRuleType INT
      Mappings:
      Namespace Name Mixin selector
      named INT Lnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;INT:Lnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;
      intermediary field_62399 Lnet/minecraft/class_11844$class_11845;field_62399:Lnet/minecraft/class_11844$class_11845;
      official a Lavq$a;a:Lavq$a;
    • BOOL

      public static final GameRuleRpcDispatcher.GameRuleType BOOL
      Mappings:
      Namespace Name Mixin selector
      named BOOL Lnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;BOOL:Lnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;
      intermediary field_62400 Lnet/minecraft/class_11844$class_11845;field_62400:Lnet/minecraft/class_11844$class_11845;
      official b Lavq$a;b:Lavq$a;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;name:Ljava/lang/String;
      intermediary field_62401 Lnet/minecraft/class_11844$class_11845;field_62401:Ljava/lang/String;
      official c Lavq$a;c:Ljava/lang/String;
  • Constructor Details

    • GameRuleType

      private GameRuleType(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_11844$class_11845;<init>(Ljava/lang/String;ILjava/lang/String;)V
      official <init> Lavq$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static GameRuleRpcDispatcher.GameRuleType[] 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 GameRuleRpcDispatcher.GameRuleType 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 Lbhi;c()Ljava/lang/String;