Enum Class PlayerInteractEntityC2SPacket.InteractType
java.lang.Object
java.lang.Enum<PlayerInteractEntityC2SPacket.InteractType>
net.minecraft.network.packet.c2s.play.PlayerInteractEntityC2SPacket.InteractType
- All Implemented Interfaces:
Serializable
,Comparable<PlayerInteractEntityC2SPacket.InteractType>
,Constable
- Enclosing class:
PlayerInteractEntityC2SPacket
private static enum PlayerInteractEntityC2SPacket.InteractType
extends Enum<PlayerInteractEntityC2SPacket.InteractType>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType
intermediary net/minecraft/class_2824$class_5907
official ahr$b
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Function
<PacketByteBuf, PlayerInteractEntityC2SPacket.InteractTypeHandler> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
InteractType
(Function<PacketByteBuf, PlayerInteractEntityC2SPacket.InteractTypeHandler> handlerGetter) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INTERACT
- Mappings:
Namespace Name Mixin selector named INTERACT
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;INTERACT:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;
intermediary field_29171
Lnet/minecraft/class_2824$class_5907;field_29171:Lnet/minecraft/class_2824$class_5907;
official a
Lahr$b;a:Lahr$b;
-
ATTACK
- Mappings:
Namespace Name Mixin selector named ATTACK
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;ATTACK:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;
intermediary field_29172
Lnet/minecraft/class_2824$class_5907;field_29172:Lnet/minecraft/class_2824$class_5907;
official b
Lahr$b;b:Lahr$b;
-
INTERACT_AT
- Mappings:
Namespace Name Mixin selector named INTERACT_AT
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;INTERACT_AT:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;
intermediary field_29173
Lnet/minecraft/class_2824$class_5907;field_29173:Lnet/minecraft/class_2824$class_5907;
official c
Lahr$b;c:Lahr$b;
-
-
Field Details
-
handlerGetter
- Mappings:
Namespace Name Mixin selector named handlerGetter
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;handlerGetter:Ljava/util/function/Function;
intermediary field_29174
Lnet/minecraft/class_2824$class_5907;field_29174:Ljava/util/function/Function;
official d
Lahr$b;d:Ljava/util/function/Function;
-
-
Constructor Details
-
InteractType
private InteractType(Function<PacketByteBuf, PlayerInteractEntityC2SPacket.InteractTypeHandler> handlerGetter) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;<init>(Ljava/lang/String;ILjava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_2824$class_5907;<init>(Ljava/lang/String;ILjava/util/function/Function;)V
official <init>
Lahr$b;<init>(Ljava/lang/String;ILjava/util/function/Function;)V
-
-
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
-