Appearance
@loontail/minecraft-kit v0.5.0 / RuntimeVersionsApi
Class: RuntimeVersionsApi
Public runtime versions API surface.
Constructors
new RuntimeVersionsApi()
ts
new RuntimeVersionsApi(ctx): RuntimeVersionsApiParameters
| Parameter | Type |
|---|---|
ctx | ResolverContext |
Returns
Source
Methods
list()
ts
list(input): Promise<readonly RuntimeListEntry[]>List available runtime entries for the host platform.
Parameters
| Parameter | Type |
|---|---|
input | RuntimeListInput |
Returns
Promise<readonly RuntimeListEntry[]>
Source
resolve()
ts
resolve(input): Promise<ResolvedRuntime>Resolve a single runtime for the host platform and Minecraft version.
Parameters
| Parameter | Type |
|---|---|
input | RuntimeResolveInput |
Returns
Promise<ResolvedRuntime>