Use redstone blocks — and the pressure plate!
Place redstone and pressure plates using mods with Tynkerbot commands like these:
You don't need code to achieve this effect, if you'd like to place the blocks by hand. You can read about redstone circuits online:
https://minecraft.fandom.com/wiki/Category:Redstone_mechanics
Or browse available courses for Tynker subscribers:
Browse Minecraft CoursesUpgrade for Ultimate Minecraft Access
Unlock the Full Minecraft Experience on Tynker!
GET STARTED FOR FREETYNKER LIVE CLASSES
Accelerate your child’s coding with Tynker’s expert guidance for personalized growth.
VIEW COURSES