Package net.minecraft.scoreboard
Enum ServerScoreboard.UpdateMode
- All Implemented Interfaces:
Serializable
,Comparable<ServerScoreboard.UpdateMode>
,java.lang.constant.Constable
- Enclosing class:
- ServerScoreboard
public static enum ServerScoreboard.UpdateMode extends Enum<ServerScoreboard.UpdateMode>
- Mappings:
Namespace Name official wq$a
intermediary net/minecraft/class_2995$class_2996
named net/minecraft/scoreboard/ServerScoreboard$UpdateMode
-
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 private
UpdateMode()
-
Method Summary
Modifier and Type Method Description static ServerScoreboard.UpdateMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ServerScoreboard.UpdateMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CHANGE
- Mappings:
Namespace Name Mixin selector official a
Lwq$a;a:Lwq$a;
intermediary field_13431
Lnet/minecraft/class_2995$class_2996;field_13431:Lnet/minecraft/class_2995$class_2996;
named CHANGE
Lnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;CHANGE:Lnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;
-
REMOVE
- Mappings:
Namespace Name Mixin selector official b
Lwq$a;b:Lwq$a;
intermediary field_13430
Lnet/minecraft/class_2995$class_2996;field_13430:Lnet/minecraft/class_2995$class_2996;
named REMOVE
Lnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;REMOVE:Lnet/minecraft/scoreboard/ServerScoreboard$UpdateMode;
-
-
Constructor Details
-
UpdateMode
private UpdateMode()
-
-
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
-