Try Tynker's Mods Editor (Project > Create Project > Minecraft > Create Mod).
https://www.tynker.com/dashboard/student/#/minecraft/mod/bedrock
Use a block like this one!
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