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 aed$b
intermediary net/minecraft/class_2824$class_5907
named net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType
  • Enum Constant Details

    • INTERACT

      public static final PlayerInteractEntityC2SPacket.InteractType INTERACT
      Mappings:
      Namespace Name Mixin selector
      official a Laed$b;a:Laed$b;
      intermediary field_29171 Lnet/minecraft/class_2824$class_5907;field_29171:Lnet/minecraft/class_2824$class_5907;
      named INTERACT Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;INTERACT:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;
    • ATTACK

      public static final PlayerInteractEntityC2SPacket.InteractType ATTACK
      Mappings:
      Namespace Name Mixin selector
      official b Laed$b;b:Laed$b;
      intermediary field_29172 Lnet/minecraft/class_2824$class_5907;field_29172:Lnet/minecraft/class_2824$class_5907;
      named ATTACK Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;ATTACK:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;
    • INTERACT_AT

      public static final PlayerInteractEntityC2SPacket.InteractType INTERACT_AT
      Mappings:
      Namespace Name Mixin selector
      official c Laed$b;c:Laed$b;
      intermediary field_29173 Lnet/minecraft/class_2824$class_5907;field_29173:Lnet/minecraft/class_2824$class_5907;
      named INTERACT_AT Lnet/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 d Laed$b;d:Ljava/util/function/Function;
      intermediary field_29174 Lnet/minecraft/class_2824$class_5907;field_29174:Ljava/util/function/Function;
      named handlerGetter Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$InteractType;handlerGetter:Ljava/util/function/Function;
  • Constructor Details

    • InteractType

      Mappings:
      Namespace Name Mixin selector
      official <init> Laed$b;<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
      named <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

      public static PlayerInteractEntityC2SPacket.InteractType valueOf(String name)
      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 name
      NullPointerException - if the argument is null