Skip to content

@loontail/minecraft-kit v0.8.14 / MinecraftLogging

Type alias: MinecraftLogging

ts
type MinecraftLogging: {
  client: {
     argument: string;
     file: ArtifactDownload & {
        id: string;
       };
     type: string;
    };
};

Logging-config entry from the version manifest.

Example

ts
import type { MinecraftLogging } from "@loontail/minecraft-kit";

const logging: MinecraftLogging | undefined = resolved.manifest.logging;
console.log(logging?.client?.file.id); // → e.g. "client-1.12.xml"

Type declaration

MemberType
client{
argument: string;
file: ArtifactDownload & {
 `id`: `string`;
\};

type: string; } | | client.argument | string | | client.file | ArtifactDownload & { id: string; } | | client.type | string |

Source

src/types/minecraft.ts:305

MIT License