@minecraft/server
    Preparing search index...

    Interface DefinitionModifier

    Contains a set of updates to the component definition state of an entity.

    interface DefinitionModifier {
        addedComponentGroups: string[];
        removedComponentGroups: string[];
    }
    Index

    Properties

    addedComponentGroups: string[]

    Retrieves the list of component groups that will be added via this definition modification.

    removedComponentGroups: string[]

    The list of component groups that will be removed via this definition modification.