MineJSv0.7.0

ComponentTypeRegistry

Source: registry.ts:140


Constructors

new ComponentTypeRegistry(): ComponentTypeRegistry

Returns

ComponentTypeRegistry


Static Properties

components: Record<string, number>

staticreadonly
registry.ts:143

Default: {}

idToName: Record<number, string>

staticreadonly
registry.ts:144

Default: {}

Static Methods

load(version: string): void

Load effects registry from JSON file.

Should be called once time

Parameters

  • version (string)

Returns

  • void