Enum Class TeamS2CPacket.Operation
java.lang.Object
java.lang.Enum<TeamS2CPacket.Operation>
net.minecraft.network.packet.s2c.play.TeamS2CPacket.Operation
- All Implemented Interfaces:
Serializable
,Comparable<TeamS2CPacket.Operation>
,Constable
- Enclosing class:
TeamS2CPacket
- Mappings:
Namespace Name official un$a
intermediary net/minecraft/class_5900$class_5901
named net/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TeamS2CPacket.Operation
Returns the enum constant of this class with the specified name.static TeamS2CPacket.Operation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD
- Mappings:
Namespace Name Mixin selector official a
Lun$a;a:Lun$a;
intermediary field_29155
Lnet/minecraft/class_5900$class_5901;field_29155:Lnet/minecraft/class_5900$class_5901;
named ADD
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation;ADD:Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation;
-
REMOVE
- Mappings:
Namespace Name Mixin selector official b
Lun$a;b:Lun$a;
intermediary field_29156
Lnet/minecraft/class_5900$class_5901;field_29156:Lnet/minecraft/class_5900$class_5901;
named REMOVE
Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation;REMOVE:Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation;
-
-
Constructor Details
-
Operation
private Operation()
-
-
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
-