I'm trying to set up a command block that will detect the time of day using 'time query daytime', take this value and set it as a scoreboard value, which can then be used to trigger events. Things such as text in a chat, give players an item, set day time, etc. Can anyone help out?
I'm trying to set up a command block that will detect the time of day using 'time query daytime', take this value and set it as a scoreboard value, which can then be used to trigger events. Things such as text in a chat, give players an item, set day time, etc. Can anyone help out?
This is how you store the value into the objective:
<objective_holder> can be any player, entity or fake player.
Now I assume that by "trigger events" you want to execute a command when the time of day reaches a specific value?
If so, this is how you do that:
Command block engineer // Developer // #TeamTrees
Thankyou,
this worked
CRAZY question, but I'm currently trying to do the same thing in Bedrock Minecraft. Is there a similar result execution on Bedrock?
No there isn't. It is probably possible through addons or the new scripting engine BE has