@minecraft/server
    Preparing search index...

    Class WorldInitializeBeforeEvent

    This class is deprecated and will be removed in 2.0.0.

    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.

    Index

    Properties

    blockComponentRegistry: BlockComponentRegistry
    itemComponentRegistry: ItemComponentRegistry

    This property is deprecated and will be removed in 2.0.0.

    Provides the functionality for registering custom components for items.