diff --git a/JS-SDK/src/index.d.ts b/JS-SDK/src/index.d.ts index f5b9bc2..560bc7d 100644 --- a/JS-SDK/src/index.d.ts +++ b/JS-SDK/src/index.d.ts @@ -3,3 +3,5 @@ export * from "./types/generic"; export * from "./types/mojang"; export * from "./types/player"; export * from "./types/server"; +export * from "./types/server/bedrock-server"; +export * from "./types/server/java-server"; diff --git a/JS-SDK/src/types/server/bedrock-server.d.ts b/JS-SDK/src/types/server/bedrock-server.d.ts index ea966df..79cf629 100644 --- a/JS-SDK/src/types/server/bedrock-server.d.ts +++ b/JS-SDK/src/types/server/bedrock-server.d.ts @@ -28,7 +28,7 @@ export interface BedrockMinecraftServer extends MinecraftServer { /** * The version information of this server. */ - version: Version; + version: BedrockVersion; /** * The gamemode of this server. @@ -44,7 +44,7 @@ export type Edition = "MCPE" | "MCEE"; /** * Version information for a server. */ -export type Version = { +export type BedrockVersion = { /** * The protocol version of the server. */ diff --git a/JS-SDK/src/types/server/java-server.d.ts b/JS-SDK/src/types/server/java-server.d.ts index 69d0bf1..cafd495 100644 --- a/JS-SDK/src/types/server/java-server.d.ts +++ b/JS-SDK/src/types/server/java-server.d.ts @@ -18,7 +18,7 @@ export interface JavaMinecraftServer extends MinecraftServer { /** * The version information of this server. */ - version: Version; + version: JavaVersion; /** * The favicon of this server, undefined if none. @@ -70,7 +70,7 @@ export interface JavaMinecraftServer extends MinecraftServer { /** * Version information for a server. */ -export type Version = { +export type JavaVersion = { /** * The version name of the server. */