Enum CombatEventS2CPacket.Type
java.lang.Object
java.lang.Enum<CombatEventS2CPacket.Type>
net.minecraft.network.packet.s2c.play.CombatEventS2CPacket.Type
- All Implemented Interfaces:
Serializable
,Comparable<CombatEventS2CPacket.Type>
,java.lang.constant.Constable
- Enclosing class:
- CombatEventS2CPacket
public static enum CombatEventS2CPacket.Type extends Enum<CombatEventS2CPacket.Type>
- Mappings:
Namespace Name official qz$a
intermediary net/minecraft/class_2698$class_2699
named net/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description END_COMBAT
ENTER_COMBAT
ENTITY_DIED
-
Constructor Summary
Constructors Modifier Constructor Description private
Type()
-
Method Summary
Modifier and Type Method Description static CombatEventS2CPacket.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static CombatEventS2CPacket.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ENTER_COMBAT
- Mappings:
Namespace Name Mixin selector official a
Lqz$a;a:Lqz$a;
intermediary field_12352
Lnet/minecraft/class_2698$class_2699;field_12352:Lnet/minecraft/class_2698$class_2699;
named ENTER_COMBAT
Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;ENTER_COMBAT:Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;
-
END_COMBAT
- Mappings:
Namespace Name Mixin selector official b
Lqz$a;b:Lqz$a;
intermediary field_12353
Lnet/minecraft/class_2698$class_2699;field_12353:Lnet/minecraft/class_2698$class_2699;
named END_COMBAT
Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;END_COMBAT:Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;
-
ENTITY_DIED
- Mappings:
Namespace Name Mixin selector official c
Lqz$a;c:Lqz$a;
intermediary field_12350
Lnet/minecraft/class_2698$class_2699;field_12350:Lnet/minecraft/class_2698$class_2699;
named ENTITY_DIED
Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;ENTITY_DIED:Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;
-
-
Constructor Details
-
Type
private Type()
-
-
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
-