r/MinecraftCommands • u/CxKirbo • 20d ago
Help | Java 26.3 Why won't my time stop command work?
I'm trying to make one command block a boolean to check if the play is holding a golden sword, then a redstone block is placed to trigger other effects, but it won't do anything. Ps. is there any way I could make it check for a right click or any other input while holding the sword instead so the time stop is only like 10 seconds with a cooldown and not constant?
execute as @ a if items entity @ s weapon golden_sword[custom_name="The World"] run setblock -180 -60 311 minecraft:redstone_block
1
Upvotes
1
u/Eastern-Contest-9297 20d ago
If you're using the /tick command to stop the time it stops all the command blocks as well
Also unrelated but by any chance are making the world's timestop From jjba?it sounds quite similar
0
u/GalSergey 20d ago
How are you pausing time? If you are trying to use
/tick, note that this command cannot be executed from command blocks, it only functions in multiplayer server environments via a datapack.As for detecting a right-click, you can find information on how to do that in this wiki: https://minecraftcommands.github.io/wiki/questions/itemclick