Enum Class ServerboundPacketsc0_15a

java.lang.Object
java.lang.Enum<ServerboundPacketsc0_15a>
net.raphimc.vialegacy.protocol.classic.c0_0_15a_1toc0_0_16a_02.packet.ServerboundPacketsc0_15a
All Implemented Interfaces:
com.viaversion.viaversion.api.protocol.packet.PacketType, com.viaversion.viaversion.api.protocol.packet.ServerboundPacketType, Serializable, Comparable<ServerboundPacketsc0_15a>, Constable, PreNettyPacketType

public enum ServerboundPacketsc0_15a extends Enum<ServerboundPacketsc0_15a> implements com.viaversion.viaversion.api.protocol.packet.ServerboundPacketType, PreNettyPacketType
  • Enum Constant Details

  • Method Details

    • values

      public static ServerboundPacketsc0_15a[] 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 ServerboundPacketsc0_15a 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
    • getPacket

      public static ServerboundPacketsc0_15a getPacket(int id)
    • getId

      public int getId()
      Specified by:
      getId in interface com.viaversion.viaversion.api.protocol.packet.PacketType
    • getName

      public String getName()
      Specified by:
      getName in interface com.viaversion.viaversion.api.protocol.packet.PacketType
    • getPacketReader

      public BiConsumer<com.viaversion.viaversion.api.connection.UserConnection,io.netty.buffer.ByteBuf> getPacketReader()
      Specified by:
      getPacketReader in interface PreNettyPacketType