1
Command help!
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!
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!
Create an account or sign in to comment.
1
/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
This is assuming ur in 1.13 on PC