Appearance
@loontail/minecraft-kit / MinecraftLibrary
Type Alias: MinecraftLibrary
ts
type MinecraftLibrary = {
downloads?: MinecraftLibraryDownloads;
extract?: {
exclude?: readonly string[];
};
name: string;
natives?: Readonly<Record<string, string>>;
rules?: readonly LibraryRule[];
url?: string;
};Defined in: src/types/minecraft.ts:109
Library entry. Combines vanilla, modern-natives, and legacy-classifier shapes.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
downloads? | readonly | MinecraftLibraryDownloads | - | src/types/minecraft.ts:111 |
extract? | readonly | { exclude?: readonly string[]; } | - | src/types/minecraft.ts:113 |
extract.exclude? | readonly | readonly string[] | - | src/types/minecraft.ts:113 |
name | readonly | string | - | src/types/minecraft.ts:110 |
natives? | readonly | Readonly<Record<string, string>> | - | src/types/minecraft.ts:112 |
rules? | readonly | readonly LibraryRule[] | - | src/types/minecraft.ts:114 |
url? | readonly | string | Some Fabric/Forge libraries carry only a Maven base URL plus a coordinate. | src/types/minecraft.ts:116 |