編集

次の方法で共有


WorldInitializeBeforeEvent Class

Caution

This class is still in pre-release. Its signature may change or it may be removed in future releases.

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.

Properties

blockTypeRegistry

read-only blockTypeRegistry: BlockComponentRegistry;

Type: BlockComponentRegistry

itemComponentRegistry

read-only itemComponentRegistry: ItemComponentRegistry;

Provides the functionality for registering custom components for items.

Type: ItemComponentRegistry