Package net.minecraft.scoreboard
Enum Class ServerScoreboard.UpdateMode
- All Implemented Interfaces:
Serializable,Comparable<ServerScoreboard.UpdateMode>,Constable
- Enclosing class:
ServerScoreboard
- Mappings:
Namespace Name named net/minecraft/scoreboard/ServerScoreboard$UpdateModeintermediary net/minecraft/class_2995$class_2996official alk$a
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServerScoreboard.UpdateModeReturns the enum constant of this class with the specified name.static ServerScoreboard.UpdateMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHANGE
- Mappings:
Namespace Name Mixin selector named CHANGELnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;CHANGE:Lnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;intermediary field_13431Lnet/minecraft/class_2995$class_2996;field_13431:Lnet/minecraft/class_2995$class_2996;official aLalk$a;a:Lalk$a;
-
REMOVE
- Mappings:
Namespace Name Mixin selector named REMOVELnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;REMOVE:Lnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;intermediary field_13430Lnet/minecraft/class_2995$class_2996;field_13430:Lnet/minecraft/class_2995$class_2996;official bLalk$a;b:Lalk$a;
-
-
Constructor Details
-
UpdateMode
private UpdateMode()
-
-
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
-