1

Command help!

Suspiria 3/8/19 12:33 pm
167
3/8/2019 5:36 pm
Hi everyone!
I was wondering if someone could please help me making a command that tells you a message in game while you are looking at a certain kind of block.

For example:
Me:*looking at a diamond ore block*
Game:"Hey! you mustn't mine that!"

Thanks in advance!
Posted by
Suspiria
Level 43 : Master System
8

  Have something to say?

JoinSign in

1

HoboMaggot
03/08/2019 5:36 pm
Level 55 : Grandmaster Blob
history
/execute as @a at @s if block ^ ^0.5 ^1 diamond_ore run say Hey! you mustn't mine that!

This is assuming ur in 1.13 on PC
1

Welcome