Enum 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>,java.lang.constant.Constable
- Enclosing class:
- TeamS2CPacket
public static enum TeamS2CPacket.Operation extends Enum<TeamS2CPacket.Operation>
- Mappings:
Namespace Name official sj$aintermediary net/minecraft/class_5900$class_5901named 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
Constructors Modifier Constructor Description privateOperation() -
Method Summary
Modifier and Type Method Description static TeamS2CPacket.OperationvalueOf(String name)Returns the enum constant of this type with the specified name.static TeamS2CPacket.Operation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADD
- Mappings:
Namespace Name Mixin selector official aLsj$a;a:Lsj$a;intermediary field_29155Lnet/minecraft/class_5900$class_5901;field_29155:Lnet/minecraft/class_5900$class_5901;named ADDLnet/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation;ADD:Lnet/minecraft/network/packet/s2c/play/TeamS2CPacket$Operation;
-
REMOVE
- Mappings:
Namespace Name Mixin selector official bLsj$a;b:Lsj$a;intermediary field_29156Lnet/minecraft/class_5900$class_5901;field_29156:Lnet/minecraft/class_5900$class_5901;named REMOVELnet/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 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
-