Appearance
@loontail/minecraft-kit v0.8.14 / Architectures
Variable: Architectures
ts
const Architectures: {
ARM64: "arm64";
X64: "x64";
X86: "x86";
};CPU architecture identifiers. Matches the values that appear in Mojang library os.arch fields, after normalization from Node's NodeJS.Architecture.
Example
ts
import { Architectures } from "@loontail/minecraft-kit";
const isModern = system.arch === Architectures.ARM64 || system.arch === Architectures.X64;Type declaration
| Member | Type | Value |
|---|---|---|
ARM64 | "arm64" | "arm64" |
X64 | "x64" | "x64" |
X86 | "x86" | "x86" |