Attribution and licences
The package code and the catalogue resources have separate licensing and attribution requirements. Integrating a ready component does not transfer ownership of the displayed material. Use this page when implementing custom cards, saving files or preparing a redistribution notice, and consult the API credit terms for the complete current service conditions.
Separate code and resource licences
mosaicary-kit is distributed under MIT. Each skin, model or build has its own license metadata, which may be null; a missing value does not mean MIT or a blanket permission to redistribute. Keep the resource page address with cached metadata so its terms and author credit remain reachable. The package licence does not replace an individual resource licence, including when the resource is converted to another file format.
Show the source, and authors where licences ask
An interface built from the catalogue shows the Mosaicary banner or a visible Mosaicary link on the screen where items are browsed; individual cards need no credit of their own. Where an item’s licence asks for its author to be named, creditOf(item) returns { name, href } with the credited name and the resource page. A skin found on a player (found) has no licence and no author: its publisher is the site’s own account and is not shown as its author. Neither helper determines a legal licence from incomplete metadata.
import 'mosaicary/catalog/define';
import { creditOf } from 'mosaicary';
// One banner where the items are browsed: the link the API asks for.
const banner = document.createElement('mosaicary-banner');
banner.setAttribute('from', 'my-launcher');
list.before(banner);
// An author only where an item's licence asks for one.
if (item.license?.startsWith('cc-by')) {
const { name, href } = creditOf(item);
const author = document.createElement('a');
author.textContent = name;
author.href = href;
card.append(author);
}Preserve attribution across previews and downloads
A preview uses fileOf(item, { view: true }) or client.file(item, { view: true }); an intentional file transfer uses the ordinary download request. This distinction keeps service counters meaningful and does not change attribution duties. Retain the resource name, page and credit when exporting a list or presenting a converted build. Local conversion changes the container format, not the material’s author or its declared licence.
Account for bundled and game assets
The package’s icons are from Lucide under ISC, with their notice supplied in the package licences. Game block textures and models are Mojang assets obtained by the separate installer, not MIT content included in the kit. Serve them for the viewer instead of offering them as catalogue resource downloads. For a launcher distribution, preserve dependency notices and verify resource-specific conditions for the actual material being distributed; the kit’s helpers only expose the recorded metadata.