Interface IntBinaryTag

    • Method Detail

      • intBinaryTag

        @NotNull
        static @NotNull IntBinaryTag intBinaryTag​(int value)
        Creates a binary tag holding an int value.
        Parameters:
        value - the value
        Returns:
        a binary tag
        Since:
        4.14.0
      • of

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

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