Interface ByteBinaryTag

    • Field Detail

      • ZERO

        static final ByteBinaryTag ZERO
        A tag with the value 0.
        Since:
        4.0.0
      • ONE

        static final ByteBinaryTag ONE
        A tag with the value 1.
        Since:
        4.0.0
    • Method Detail

      • byteBinaryTag

        @NotNull
        static @NotNull ByteBinaryTag byteBinaryTag​(byte value)
        Creates a binary tag holding a byte value.
        Parameters:
        value - the value
        Returns:
        a binary tag
        Since:
        4.14.0
      • of

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

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