Package net.minecraft.world
Enum GameRuleDispatcher.VariableType
- All Implemented Interfaces:
Serializable,Comparable<GameRuleDispatcher.VariableType>,java.lang.constant.Constable
- Enclosing class:
- GameRuleDispatcher
public static enum GameRuleDispatcher.VariableType extends Enum<GameRuleDispatcher.VariableType>
- Mappings:
Namespace Name official adk$bintermediary net/minecraft/class_95$class_97named net/minecraft/world/GameRuleDispatcher$VariableType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
-
Constructor Summary
Constructors Modifier Constructor Description privateVariableType() -
Method Summary
Modifier and Type Method Description static GameRuleDispatcher.VariableTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GameRuleDispatcher.VariableType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ANY
- Mappings:
Namespace Name Mixin selector official aLadk$b;a:Ladk$b;intermediary field_244Lnet/minecraft/class_95$class_97;field_244:Lnet/minecraft/class_95$class_97;named ANYLnet/minecraft/world/GameRuleDispatcher$VariableType;ANY:Lnet/minecraft/world/GameRuleDispatcher$VariableType;
-
BOOLEAN
- Mappings:
Namespace Name Mixin selector official bLadk$b;b:Ladk$b;intermediary field_245Lnet/minecraft/class_95$class_97;field_245:Lnet/minecraft/class_95$class_97;named BOOLEANLnet/minecraft/world/GameRuleDispatcher$VariableType;BOOLEAN:Lnet/minecraft/world/GameRuleDispatcher$VariableType;
-
NUMERICAL
- Mappings:
Namespace Name Mixin selector official cLadk$b;c:Ladk$b;intermediary field_246Lnet/minecraft/class_95$class_97;field_246:Lnet/minecraft/class_95$class_97;named NUMERICALLnet/minecraft/world/GameRuleDispatcher$VariableType;NUMERICAL:Lnet/minecraft/world/GameRuleDispatcher$VariableType;
-
-
Constructor Details
-
VariableType
private VariableType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-