I am just about to make Valley and Lagoon Dirt/Sand-Rollercoasterblocks .

Now I have a problem:I do not know how to put the dirt/sand-handling on the block and I also do not know how to activate the magneticfunction.
Is out there somebody who knows how to do it if it´s even possible?