Enum Class CombatEventS2CPacket.Type

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

public static enum CombatEventS2CPacket.Type extends Enum<CombatEventS2CPacket.Type>
Mappings:
Namespace Name
official ha$a
intermediary net/minecraft/class_2576$class_2577
named net/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type
  • Enum Constant Details

    • ENTER_COMBAT

      public static final CombatEventS2CPacket.Type ENTER_COMBAT
      Mappings:
      Namespace Name Mixin selector
      official a Lha$a;a:Lha$a;
      intermediary field_11631 Lnet/minecraft/class_2576$class_2577;field_11631:Lnet/minecraft/class_2576$class_2577;
      named ENTER_COMBAT Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;ENTER_COMBAT:Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;
    • END_COMBAT

      public static final CombatEventS2CPacket.Type END_COMBAT
      Mappings:
      Namespace Name Mixin selector
      official b Lha$a;b:Lha$a;
      intermediary field_11632 Lnet/minecraft/class_2576$class_2577;field_11632:Lnet/minecraft/class_2576$class_2577;
      named END_COMBAT Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;END_COMBAT:Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;
    • ENTITY_DIED

      public static final CombatEventS2CPacket.Type ENTITY_DIED
      Mappings:
      Namespace Name Mixin selector
      official c Lha$a;c:Lha$a;
      intermediary field_11633 Lnet/minecraft/class_2576$class_2577;field_11633:Lnet/minecraft/class_2576$class_2577;
      named ENTITY_DIED Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;ENTITY_DIED:Lnet/minecraft/network/packet/s2c/play/CombatEventS2CPacket$Type;
  • Constructor Details

    • Type

      private Type()
  • Method Details

    • values

      public static CombatEventS2CPacket.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 CombatEventS2CPacket.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