Enum Class BossBarS2CPacket.Type

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

private static enum BossBarS2CPacket.Type extends Enum<BossBarS2CPacket.Type>
Mappings:
Namespace Name
official qb$d
intermediary net/minecraft/class_2629$class_5883
named net/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type
  • Enum Constant Details

    • ADD

      public static final BossBarS2CPacket.Type ADD
      Mappings:
      Namespace Name Mixin selector
      official a Lqb$d;a:Lqb$d;
      intermediary field_29107 Lnet/minecraft/class_2629$class_5883;field_29107:Lnet/minecraft/class_2629$class_5883;
      named ADD Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;ADD:Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;
    • REMOVE

      public static final BossBarS2CPacket.Type REMOVE
      Mappings:
      Namespace Name Mixin selector
      official b Lqb$d;b:Lqb$d;
      intermediary field_29108 Lnet/minecraft/class_2629$class_5883;field_29108:Lnet/minecraft/class_2629$class_5883;
      named REMOVE Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;REMOVE:Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;
    • UPDATE_PROGRESS

      public static final BossBarS2CPacket.Type UPDATE_PROGRESS
      Mappings:
      Namespace Name Mixin selector
      official c Lqb$d;c:Lqb$d;
      intermediary field_29109 Lnet/minecraft/class_2629$class_5883;field_29109:Lnet/minecraft/class_2629$class_5883;
      named UPDATE_PROGRESS Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;UPDATE_PROGRESS:Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;
    • UPDATE_NAME

      public static final BossBarS2CPacket.Type UPDATE_NAME
      Mappings:
      Namespace Name Mixin selector
      official d Lqb$d;d:Lqb$d;
      intermediary field_29110 Lnet/minecraft/class_2629$class_5883;field_29110:Lnet/minecraft/class_2629$class_5883;
      named UPDATE_NAME Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;UPDATE_NAME:Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;
    • UPDATE_STYLE

      public static final BossBarS2CPacket.Type UPDATE_STYLE
      Mappings:
      Namespace Name Mixin selector
      official e Lqb$d;e:Lqb$d;
      intermediary field_29111 Lnet/minecraft/class_2629$class_5883;field_29111:Lnet/minecraft/class_2629$class_5883;
      named UPDATE_STYLE Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;UPDATE_STYLE:Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;
    • UPDATE_PROPERTIES

      public static final BossBarS2CPacket.Type UPDATE_PROPERTIES
      Mappings:
      Namespace Name Mixin selector
      official f Lqb$d;f:Lqb$d;
      intermediary field_29112 Lnet/minecraft/class_2629$class_5883;field_29112:Lnet/minecraft/class_2629$class_5883;
      named UPDATE_PROPERTIES Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;UPDATE_PROPERTIES:Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;
  • Field Details

    • parser

      Mappings:
      Namespace Name Mixin selector
      official g Lqb$d;g:Ljava/util/function/Function;
      intermediary field_29113 Lnet/minecraft/class_2629$class_5883;field_29113:Ljava/util/function/Function;
      named parser Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;parser:Ljava/util/function/Function;
  • Constructor Details

    • Type

      private Type(Function<PacketByteBuf,​BossBarS2CPacket.Action> parser)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqb$d;<init>(Ljava/lang/String;ILjava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_2629$class_5883;<init>(Ljava/lang/String;ILjava/util/function/Function;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/BossBarS2CPacket$Type;<init>(Ljava/lang/String;ILjava/util/function/Function;)V
  • Method Details

    • values

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