类 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.

属性

blockComponentRegistry: BlockComponentRegistry
itemComponentRegistry: ItemComponentRegistry

Provides the functionality for registering custom components for items.