The DefinitionModifier interface in @minecraft/server.
Interface in @minecraft/server
import type { DefinitionModifier } from '@minecraft/server';Properties
Section titled “Properties”addedComponentGroups
Section titled “addedComponentGroups”addedComponentGroups: string[];removedComponentGroups
Section titled “removedComponentGroups”removedComponentGroups: string[];Used by
Section titled “Used by”DataDrivenEntityTriggerAfterEvent.getModifiers, EntityUpgradeAfterEvent.getModifiers