You have these two:
fxDTSBrick::onPlant(%brick)
fxDTSBrickData::onPlant(%data, %brick)
Note that by default, the first one simply calls the second on the brick datablock. That's... the only point of it??
Use the one that makes more sense for what you're doing