Interface ResourcePackInfo

    • Method Detail

      • resourcePackInfo

        @NotNull
        static @NotNull ResourcePackInfo resourcePackInfo​(@NotNull
                                                          @NotNull java.util.UUID id,
                                                          @NotNull
                                                          @NotNull java.net.URI uri,
                                                          @NotNull
                                                          @NotNull java.lang.String hash)
        Creates information about a resource pack.
        Parameters:
        id - the id
        uri - the uri
        hash - the sha-1 hash
        Returns:
        the resource pack request
        Since:
        4.15.0
      • id

        @NotNull
        @NotNull java.util.UUID id()
        Gets the id.
        Returns:
        the id
        Since:
        4.15.0
      • uri

        @NotNull
        @NotNull java.net.URI uri()
        Gets the uri.
        Returns:
        the uri
        Since:
        4.15.0
      • hash

        @NotNull
        @NotNull java.lang.String hash()
        Gets the SHA-1 hash.
        Returns:
        the hash
        Since:
        4.15.0