Interface DoubleBinaryTag

All Superinterfaces:
BinaryTag, BinaryTagLike, net.kyori.examination.Examinable, NumberBinaryTag

public interface DoubleBinaryTag
extends NumberBinaryTag
A binary tag holding a double value.
Since:
4.0.0
  • Method Details

    • of

      static @NonNull DoubleBinaryTag of​(double value)
      Creates a binary tag holding a double value.
      Parameters:
      value - the value
      Returns:
      a binary tag
      Since:
      4.0.0
    • type

      default @NonNull BinaryTagType<DoubleBinaryTag> 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

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