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$GameRuleTypeintermediary net/minecraft/class_11844$class_11845official avq$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsFields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.Returns the enum constant of this class with the specified name.static GameRuleRpcDispatcher.GameRuleType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INT
- Mappings:
Namespace Name Mixin selector named INTLnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;INT:Lnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;intermediary field_62399Lnet/minecraft/class_11844$class_11845;field_62399:Lnet/minecraft/class_11844$class_11845;official aLavq$a;a:Lavq$a;
-
BOOL
- Mappings:
Namespace Name Mixin selector named BOOLLnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;BOOL:Lnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;intermediary field_62400Lnet/minecraft/class_11844$class_11845;field_62400:Lnet/minecraft/class_11844$class_11845;official bLavq$a;b:Lavq$a;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;name:Ljava/lang/String;intermediary field_62401Lnet/minecraft/class_11844$class_11845;field_62401:Ljava/lang/String;official cLavq$a;c:Ljava/lang/String;
-
-
Constructor Details
-
GameRuleType
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/server/dedicated/management/dispatch/GameRuleRpcDispatcher$GameRuleType;<init>(Ljava/lang/String;ILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_11844$class_11845;<init>(Ljava/lang/String;ILjava/lang/String;)Vofficial <init>Lavq$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbhg;c()Ljava/lang/String;
-