This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi, I'm currently making a map and I want to detect a hopper with a stone button in it.
This is my command:
execute if block 22 12 6 minecraft:hopper{Items:[{id:"minecraft:stone_button"}]} run say hi
(22 12 6 will be replaced by the actual coordinates and "say hi" will be replaced as well)
But it does not work at all. Can someone help? It's probably some stupid mistake... still getting used to the new execute commands...
Thanks!
EDIT: Whoops, I meant to say: Why isnt this execute command working? Sorry!
Checked it, it works fine. I guess is stupid mistake then...
Not activated?
Chain?
Conditional?
Wrong coordinates?
Wrong item?
Not 1.13 or higher version?
Yes!
Very stupid mistake, my bad (embarrassed face emoji here)
I set the command block to impulse - always active...
But I set it to Repeat - Always Active and it did not keep outputting "hi", why?
Quote from saka29» Yes! Very stupid mistake, my bad (embarrassed face emoji here) I set the command block to impulse - always active... But I set it to Repeat - Always Active and it did not keep outputting "hi", why?
Well...sounds like is that annoy bug again(That's why I switch to function...fast, easy to edit and manage).
Sometimes the command block just doesn't activate even when it is set to Always Active.
In that case, either open the UI set it to Needs Redstone, click done. Open again, set back to Always Active, done.
Or break and place the command block, try again...
Hi, I'm currently making a map and I want to detect a hopper with a stone button in it.
This is my command:
(22 12 6 will be replaced by the actual coordinates and "say hi" will be replaced as well)
But it does not work at all. Can someone help? It's probably some stupid mistake... still getting used to the new execute commands...
Thanks!
EDIT: Whoops, I meant to say: Why isnt this execute command working? Sorry!
Checked it, it works fine. I guess is stupid mistake then...
Not activated?
Chain?
Conditional?
Wrong coordinates?
Wrong item?
Not 1.13 or higher version?
Yes!
Very stupid mistake, my bad (embarrassed face emoji here)
I set the command block to impulse - always active...
But I set it to Repeat - Always Active and it did not keep outputting "hi", why?
Well...sounds like is that annoy bug again(That's why I switch to function...fast, easy to edit and manage).
Sometimes the command block just doesn't activate even when it is set to Always Active.
In that case, either open the UI set it to Needs Redstone, click done. Open again, set back to Always Active, done.
Or break and place the command block, try again...