Interface LongBinaryTag

All Superinterfaces:
BinaryTag, BinaryTagLike, NumberBinaryTag

public sealed interface LongBinaryTag extends NumberBinaryTag
A binary tag holding a long value.
Since:
4.0.0
  • Method Details

    • longBinaryTag

      static LongBinaryTag longBinaryTag(long value)
      Creates a binary tag holding a long value.
      Parameters:
      value - the value
      Returns:
      a binary tag
      Since:
      4.14.0
    • type

      default BinaryTagType<LongBinaryTag> type()
      Description copied from interface: BinaryTag
      Gets the tag type.
      Specified by:
      type in interface BinaryTag
      Specified by:
      type in interface NumberBinaryTag
      Returns:
      the tag type
    • value

      long value()
      Gets the value.
      Returns:
      the value
      Since:
      4.0.0