Enum Class PlayerInteractEntityC2SPacket.Type

java.lang.Object
java.lang.Enum<PlayerInteractEntityC2SPacket.Type>
net.minecraft.network.packet.c2s.play.PlayerInteractEntityC2SPacket.Type
All Implemented Interfaces:
Serializable, Comparable<PlayerInteractEntityC2SPacket.Type>, Constable
Enclosing class:
PlayerInteractEntityC2SPacket

public static enum PlayerInteractEntityC2SPacket.Type extends Enum<PlayerInteractEntityC2SPacket.Type>
Mappings:
Namespace Name
official is$a
intermediary net/minecraft/class_2061$class_2062
named net/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Type
  • Enum Constant Details

    • INTERACT

      public static final PlayerInteractEntityC2SPacket.Type INTERACT
      Mappings:
      Namespace Name Mixin selector
      official a Lis$a;a:Lis$a;
      intermediary field_8790 Lnet/minecraft/class_2061$class_2062;field_8790:Lnet/minecraft/class_2061$class_2062;
      named INTERACT Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Type;INTERACT:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Type;
    • ATTACK

      public static final PlayerInteractEntityC2SPacket.Type ATTACK
      Mappings:
      Namespace Name Mixin selector
      official b Lis$a;b:Lis$a;
      intermediary field_8791 Lnet/minecraft/class_2061$class_2062;field_8791:Lnet/minecraft/class_2061$class_2062;
      named ATTACK Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Type;ATTACK:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Type;
    • INTERACT_AT

      public static final PlayerInteractEntityC2SPacket.Type INTERACT_AT
      Mappings:
      Namespace Name Mixin selector
      official c Lis$a;c:Lis$a;
      intermediary field_11704 Lnet/minecraft/class_2061$class_2062;field_11704:Lnet/minecraft/class_2061$class_2062;
      named INTERACT_AT Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Type;INTERACT_AT:Lnet/minecraft/network/packet/c2s/play/PlayerInteractEntityC2SPacket$Type;
  • Constructor Details

    • Type

      private Type()
  • Method Details

    • values

      public static PlayerInteractEntityC2SPacket.Type[] 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.Type 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