Generally the simplest machine you can imagine in this category.
Here, 2 command blocks 1. checks whether there is a certain block in the vicinity and 2. outputs a message about it. In itself, it is relatively simple. A more detailed description will be available today or tomorrow (11. 07. 2016) in the Minecraft Wiki Come on!
Instructions:What do I need? How is it done?
- Place the repeat command block and fill in the command:
Code:/execute @a ~ ~ detect ~5 ~5 diamond_ore
- Sat direct before that into the same pointing the way a chain command block, switch it to Conditionally and Always active and set the following command:
Code:/playsound entity.player.burp master DeBedenHasen ~ ~ 0.5