[MC-5020] /gamemode doesn't work as expected on command blocks Created: 20/Dec/12  Updated: 10/Feb/13  Resolved: 20/Dec/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.5
Fix Version/s: None

Type: Bug
Reporter: Huw Evans Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

OSX 10.6, Java 6


Attachments: PNG File 2012-12-20_08.02.00.png    
Issue Links:
Duplicate
duplicates MC-3945 /gamemode does not work as expected w... Resolved
Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

What I expected to happen was:
When I attached my command block to a redstone clock and gave it a /gamemode command, it would change my gamemode as expected with the command /gamemode 2 @a

What actually happened was:
Nothing. I tried with another command (/say) and it worked fine.

Steps to Reproduce:
1. Make a 2-clock
2. Attach a command block to the output
3. Change the command block's command to /gamemode 2 @a



 Comments   
Comment by Tails [ 20/Dec/12 ]

Duplicate of MC-3945.

Comment by I_Joker_I [ 20/Dec/12 ]

When I use this command in the new 1.4.6 Version, it works!

Comment by Mustek [ 20/Dec/12 ]

Works for me in 1.4.6.

Comment by Kumasasa [ 20/Dec/12 ]

Works as expected.
You may (should ?) omit the leading "/" of the commands, thats only needed in the chat console.

Comment by insomniac_lemon [ 20/Dec/12 ]

/gamemode 2 @a is the correct command, and I tried that and it worked perfectly fine for me.

Comment by Huw Evans [ 20/Dec/12 ]

That definitely does not work. Even in the command line.

Generated at Sun Jan 12 12:06:31 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.