Enum PlayerInteractEntityC2SPacket.InteractionType
java.lang.Object
java.lang.Enum<PlayerInteractEntityC2SPacket.InteractionType>
net.minecraft.network.packet.c2s.play.PlayerInteractEntityC2SPacket.InteractionType
- All Implemented Interfaces:
Serializable
,Comparable<PlayerInteractEntityC2SPacket.InteractionType>
,java.lang.constant.Constable
- Enclosing class:
- PlayerInteractEntityC2SPacket
public static enum PlayerInteractEntityC2SPacket.InteractionType extends Enum<PlayerInteractEntityC2SPacket.InteractionType>
- Mappings:
Namespace Name official th$a
intermediary net/minecraft/class_2824$class_2825
named net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractionType
-
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 ATTACK
INTERACT
INTERACT_AT
-
Constructor Summary
Constructors Modifier Constructor Description private
InteractionType()
-
Method Summary
Modifier and Type Method Description static PlayerInteractEntityC2SPacket.InteractionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PlayerInteractEntityC2SPacket.InteractionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INTERACT
- Mappings:
Namespace Name Mixin selector official a
Lth$a;a:Lth$a;
intermediary field_12876
Lnet/minecraft/class_2824$class_2825;field_12876:Lnet/minecraft/class_2824$class_2825;
named INTERACT
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractionType;INTERACT:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractionType;
-
ATTACK
- Mappings:
Namespace Name Mixin selector official b
Lth$a;b:Lth$a;
intermediary field_12875
Lnet/minecraft/class_2824$class_2825;field_12875:Lnet/minecraft/class_2824$class_2825;
named ATTACK
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractionType;ATTACK:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractionType;
-
INTERACT_AT
- Mappings:
Namespace Name Mixin selector official c
Lth$a;c:Lth$a;
intermediary field_12873
Lnet/minecraft/class_2824$class_2825;field_12873:Lnet/minecraft/class_2824$class_2825;
named INTERACT_AT
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractionType;INTERACT_AT:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractionType;
-
-
Constructor Details
-
InteractionType
private InteractionType()
-
-
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
-