Enum ScoreboardPlayerUpdateS2CPacket.UpdateType
java.lang.Object
java.lang.Enum<ScoreboardPlayerUpdateS2CPacket.UpdateType>
net.minecraft.network.packet.s2c.play.ScoreboardPlayerUpdateS2CPacket.UpdateType
- All Implemented Interfaces:
Serializable,Comparable<ScoreboardPlayerUpdateS2CPacket.UpdateType>,java.lang.constant.Constable
- Enclosing class:
- ScoreboardPlayerUpdateS2CPacket
public static enum ScoreboardPlayerUpdateS2CPacket.UpdateType extends Enum<ScoreboardPlayerUpdateS2CPacket.UpdateType>
- Mappings:
Namespace Name official hs$aintermediary net/minecraft/class_1535$class_1536named net/minecraft/network/packet/s2c/play/ScoreboardPlayerUpdateS2CPacket$UpdateType
-
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 privateUpdateType() -
Method Summary
Modifier and Type Method Description static ScoreboardPlayerUpdateS2CPacket.UpdateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ScoreboardPlayerUpdateS2CPacket.UpdateType[]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 aLhs$a;a:Lhs$a;intermediary field_6332Lnet/minecraft/class_1535$class_1536;field_6332:Lnet/minecraft/class_1535$class_1536;named CHANGELnet/minecraft/network/packet/s2c/play/ScoreboardPlayerUpdateS2CPacket$UpdateType;CHANGE:Lnet/minecraft/network/packet/s2c/play/ScoreboardPlayerUpdateS2CPacket$UpdateType;
-
REMOVE
- Mappings:
Namespace Name Mixin selector official bLhs$a;b:Lhs$a;intermediary field_6333Lnet/minecraft/class_1535$class_1536;field_6333:Lnet/minecraft/class_1535$class_1536;named REMOVELnet/minecraft/network/packet/s2c/play/ScoreboardPlayerUpdateS2CPacket$UpdateType;REMOVE:Lnet/minecraft/network/packet/s2c/play/ScoreboardPlayerUpdateS2CPacket$UpdateType;
-
-
Constructor Details
-
UpdateType
private UpdateType()
-
-
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
-