Skip to main content

Class: WorldInitializeBeforeEvent

Contains information and methods that can be used at the initialization of the scripting environment for a World. Also, use the supplied blockRegistry object to register block custom components within the scope of the World Initialize execution.

Constructors

new WorldInitializeBeforeEvent()

private new WorldInitializeBeforeEvent(): WorldInitializeBeforeEvent

Returns

WorldInitializeBeforeEvent

Properties

blockTypeRegistry

readonly blockTypeRegistry: BlockComponentRegistry


itemComponentRegistry

readonly itemComponentRegistry: ItemComponentRegistry

Remarks

Provides the functionality for registering custom components for items.