Interface ShortBinaryTag

    • Method Detail

      • shortBinaryTag

        @NotNull
        static @NotNull ShortBinaryTag shortBinaryTag​(short value)
        Creates a binary tag holding a short value.
        Parameters:
        value - the value
        Returns:
        a binary tag
        Since:
        4.14.0
      • of

        @Deprecated
        @ScheduledForRemoval(inVersion="5.0.0")
        @NotNull
        static @NotNull ShortBinaryTag of​(short value)
        Deprecated.
        for removal since 4.14.0, use shortBinaryTag(short) instead.
        Creates a binary tag holding a short value.
        Parameters:
        value - the value
        Returns:
        a binary tag
        Since:
        4.0.0
      • value

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