Interface IntArrayBinaryTag

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

public interface IntArrayBinaryTag
extends BinaryTag
A binary tag holding an int-array value.
Since:
4.0.0
  • Method Summary

    Modifier and Type Method Description
    static @NonNull IntArrayBinaryTag of​(int @NonNull ... value)
    Creates a binary tag holding an int-array value.
    default @NonNull BinaryTagType<IntArrayBinaryTag> type()
    Gets the tag type.
    int @NonNull [] value()
    Gets the value.

    Methods inherited from interface net.kyori.examination.Examinable

    examinableName, examinableProperties, examine
  • Method Details

    • of

      static @NonNull IntArrayBinaryTag of​(int @NonNull ... value)
      Creates a binary tag holding an int-array value.
      Parameters:
      value - the value
      Returns:
      a binary tag
      Since:
      4.0.0
    • type

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

      int @NonNull [] value()
      Gets the value.

      The returned array is a copy.

      Returns:
      the value
      Since:
      4.0.0