Skip to content

@minecraft/server


@minecraft/server / ClientSystemInfo

Class: ClientSystemInfo ​

Defined in: @minecraft/server/index.d.ts:6176

Contains the device information for a client instance.

Extends ​

Properties ​

locale ​

readonly locale: string

Defined in: @minecraft/server/index.d.ts:6191

Remarks ​

The locale selected by the client (e.g., en_US, fr_FR, ja_JP). Note that in most cases, server scripts should not use this property to manually localize text. Instead, use RawMessage with a translate field to send localization keys, allowing each client to resolve them in their own language automatically. Direct use of locale for localization is fragile and may produce unexpected results when players with different languages are on the same server.


maxRenderDistance ​

readonly maxRenderDistance: number

Defined in: @minecraft/server/index.d.ts:6197

Remarks ​

The max render distance for the device in chunks.


memoryTier ​

readonly memoryTier: MemoryTier

Defined in: @minecraft/server/index.d.ts:20635

Remarks ​

Describes the memory of the device.

Inherited from ​

SystemInfo.memoryTier


platformType ​

readonly platformType: PlatformType

Defined in: @minecraft/server/index.d.ts:6203

Remarks ​

The platform type of the device.