Enum Class OpCode

java.lang.Object
java.lang.Enum<OpCode>
net.md_5.bungee.protocol.OpCode
All Implemented Interfaces:
Serializable, Comparable<OpCode>, Constable

public enum OpCode extends Enum<OpCode>
  • Enum Constant Details

    • BOOLEAN

      public static final OpCode BOOLEAN
    • BYTE

      public static final OpCode BYTE
    • BYTE_INT

      public static final OpCode BYTE_INT
    • DOUBLE

      public static final OpCode DOUBLE
    • FLOAT

      public static final OpCode FLOAT
    • INT

      public static final OpCode INT
    • INT_3

      public static final OpCode INT_3
    • INT_BYTE

      public static final OpCode INT_BYTE
    • ITEM

      public static final OpCode ITEM
    • LONG

      public static final OpCode LONG
    • METADATA

      public static final OpCode METADATA
    • OPTIONAL_MOTION

      public static final OpCode OPTIONAL_MOTION
    • SHORT

      public static final OpCode SHORT
    • SHORT_BYTE

      public static final OpCode SHORT_BYTE
    • SHORT_ITEM

      public static final OpCode SHORT_ITEM
    • STRING

      public static final OpCode STRING
    • USHORT_BYTE

      public static final OpCode USHORT_BYTE
    • OPTIONAL_WINDOW

      public static final OpCode OPTIONAL_WINDOW
    • BLOCK_CHANGE_ARRAY

      public static final OpCode BLOCK_CHANGE_ARRAY
    • BYTE_BYTE

      public static final OpCode BYTE_BYTE
  • Method Details

    • values

      public static OpCode[] 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 OpCode 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