Enum 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>, java.lang.constant.Constable
Enclosing class:
PlayerInteractEntityC2SPacket

public static enum PlayerInteractEntityC2SPacket.Type
extends Enum<PlayerInteractEntityC2SPacket.Type>
Mappings:
Namespace Name
official in$a
intermediary net/minecraft/class_1561$class_1562
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 Lin$a;a:Lin$a;
      intermediary field_6408 Lnet/minecraft/class_1561$class_1562;field_6408:Lnet/minecraft/class_1561$class_1562;
      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 Lin$a;b:Lin$a;
      intermediary field_6409 Lnet/minecraft/class_1561$class_1562;field_6409:Lnet/minecraft/class_1561$class_1562;
      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 Lin$a;c:Lin$a;
      intermediary field_6410 Lnet/minecraft/class_1561$class_1562;field_6410:Lnet/minecraft/class_1561$class_1562;
      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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

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