Minecraft Round Up - Let's mod a functioning Door Bell
This week we are continuing our 'Redstone Contraption' series and are coding door bell - DING DONG!
Welcome to Minecraft Mod Club! This week we are continuing our 'Redstone Contraption' series and are coding door bell - DING DONG!
In this mod, we are using red stone dust to create a door bell! Just as the name suggests, once the mod has been built - just push the button to ring the bell. A create addition to add to any Minecraft building!
Though a simple Minecraft Mod, it does take quite a few scripts of code to get it working. We first need to build the door way which we do using a custom function which places our desired blocks along with our chosen door. We also place our stone button on the wall to act as our door bell; to do this in MakeCode we have to use the 'Block by ID' coding block as it isn't found in the usual list of block options.
We then create the redstone function which connects the line of redstone dust to the bell. We then call our final function which operates the sound - we use sound blocks in order to produce the bell sound. What is great about this function is that you can change the note blocks to whatever you want - making your own custom door bell!
Until next time, happy building everyone!