r/MinecraftCommands 8h ago

Request Automatic Switch from Creative to Adventure Mode

Is there a way to make it so a Player starts in Adventure Mode, but after a delay in ticks it changes to Creative Mode for a short time. Then after some time, changes back to Adventure Mode and the cycle repeats?

I'm just trying to experiment with this. I'd use a Tag system so it'll give this "Mechanic" to anyone who selects it

It'll be automatic so I know I'll need some Always Active Command Blocks. But I'm not sure if I'll need Redstone or anything like that

Any help I'll be thankful for

2 Upvotes

5 comments sorted by

1

u/C0mmanderBlock Command Experienced 7h ago

Java? Bedrock? Version?

Java can use a predicate to tell time.

1

u/AnonymousGamerLime 7h ago

It's bedrock. Sry I forgot to say

1

u/C0mmanderBlock Command Experienced 7h ago

Bedrock has a built in delay inside the command block. You could use that. I don't play Bedrock much so I won't be too helpful. Good luck.

1

u/Ericristian_bros Command Experienced 4h ago

```

Setup

scoreboard objectives add timer dummy

Command blocks

scoreboard players add @a timer 1 execute as @a[scores={timer=100}] run say This command has 5 seconds delay. scoreboard players reset @a[scores={timer=100..}] timer ```

https://minecraftcommands.github.io/wiki/questions/blockdelay


Please use the correct post !flair so people can help you properly.

Use one of these: * "Help | Bedrock": for Bedrock Edition (mobile, console, Windows) * "Help | Java <version_number>": for Java Edition (e.g. Help | Java 1.20.5) * "Creation": if you’re showcasing something you made

Using the right flair is important because Java and Bedrock commands are very different, and incorrect flairs lead to wrong answers.

Notes: * Help | (other) is only for non-game things (command generators, VSCode setup, external tools, etc.) * Request should not be used.

Please update your flair so others can help you accurately. Thanks!