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 official ub$bintermediary net/minecraft/class_2824$class_5907named net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType
-
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) Function<PacketByteBuf,PlayerInteractEntityC2SPacket.InteractTypeHandler> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateInteractType(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 official aLub$b;a:Lub$b;intermediary field_29171Lnet/minecraft/class_2824$class_5907;field_29171:Lnet/minecraft/class_2824$class_5907;named INTERACTLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;INTERACT:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;
-
ATTACK
- Mappings:
Namespace Name Mixin selector official bLub$b;b:Lub$b;intermediary field_29172Lnet/minecraft/class_2824$class_5907;field_29172:Lnet/minecraft/class_2824$class_5907;named ATTACKLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;ATTACK:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;
-
INTERACT_AT
- Mappings:
Namespace Name Mixin selector official cLub$b;c:Lub$b;intermediary field_29173Lnet/minecraft/class_2824$class_5907;field_29173:Lnet/minecraft/class_2824$class_5907;named INTERACT_ATLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;INTERACT_AT:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;
-
-
Field Details
-
handlerGetter
- Mappings:
Namespace Name Mixin selector official dLub$b;d:Ljava/util/function/Function;intermediary field_29174Lnet/minecraft/class_2824$class_5907;field_29174:Ljava/util/function/Function;named handlerGetterLnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;handlerGetter:Ljava/util/function/Function;
-
-
Constructor Details
-
InteractType
private InteractType(Function<PacketByteBuf,PlayerInteractEntityC2SPacket.InteractTypeHandler> handlerGetter)- Mappings:
Namespace Name Mixin selector official <init>Lub$b;<init>(Ljava/lang/String;ILjava/util/function/Function;)Vintermediary <init>Lnet/minecraft/class_2824$class_5907;<init>(Ljava/lang/String;ILjava/util/function/Function;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;<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
-