1
Command Blocks
I know you can put effects on stuff such as bows that launch TNT with command blocks. I want to make a stick that when right clicked will change the weather to clear. I also want to make one that casts lightning when you click. I don't know if either of these are possible, and if they are how to do it.
Create an account or sign in to comment.
5
1
Yep
1
*attach*
1
Megaderf is not correct you can attack a command to a bow but you would have to have a command block that repeats checking if it's been clicked or fired and then once it knows it sure that's what has been clicked to then activate another command block to apply the command.
1
Sure, I was talking about the stick in his example. You could also check for the durability of an item (like a fishing rod) and when it's used you run the command and replace the item with a new one.
1
I'm pretty sure you can't run a command when you click with a certain item. You could make stuff happen when you are holding that item in your hand. It's pretty complex and for now I don't know the exact commands you should use, but it's not that difficult when you know them.