Command block line:

After placing the command blocks like in the video, paste the listed commands always starting from the bottom command block and then going up.


/execute @a ~ ~ ~ detect ~ ~ ~ stone_button 13 effect @a[r=1] levitation 100 5 true


​/execute @a ~ ~ ~ detect ~ ~-3 ~1 stained_hardened_clay 14 effect @a[r=1] clear


​/execute @a ~ ~ ~ detect ~ ~-3 ~2 stained_hardened_clay 14 effect @a[r=1] clear


Detect stone button:


/testforblock ~ ~1 ~ stone_button 1

MCPE ELEVATORS

Command blocks

Tutorial viewed            times