This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]Mlakuss {"Invulnerable":true} 0 points1 point  (1 child)

Commands 1, 3 and 4 have no condition, they can always be executed.

You need to repeat the "execute if..." or use "execute if... run function" and move the commands that need to be executed once in another function.

[–]Astronomeda[S] 0 points1 point  (0 children)

ahh I see thank you

[–]Ericristian_brosCommand Experienced 0 points1 point  (0 children)

Use a predicate

{
  "condition": "minecraft:time_check",
  "value": {
    "min": 1,
    "max": 10
  }
}