The CustomComponentParameters class in @minecraft/server.
Class in @minecraft/server
import { CustomComponentParameters } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”params
Section titled “params”read-only
readonly params: unknown;Used by
Section titled “Used by”BlockCustomComponentInstance.customComponentParameters, ItemCustomComponentInstance.customComponentParameters, BlockCustomComponent.beforeOnPlayerPlace, BlockCustomComponent.onBlockStateChange, BlockCustomComponent.onBreak, BlockCustomComponent.onEntity, BlockCustomComponent.onEntityFallOn, BlockCustomComponent.onPlace, BlockCustomComponent.onPlayerBreak, BlockCustomComponent.onPlayerInteract, BlockCustomComponent.onRandomTick, BlockCustomComponent.onRedstoneUpdate, BlockCustomComponent.onStepOff, BlockCustomComponent.onStepOn, BlockCustomComponent.onTick, ItemCustomComponent.onBeforeDurabilityDamage, ItemCustomComponent.onCompleteUse, ItemCustomComponent.onConsume, ItemCustomComponent.onHitEntity, ItemCustomComponent.onMineBlock, ItemCustomComponent.onUse, ItemCustomComponent.onUseOn