<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:06:31 UTC 2025

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Mojang Studios Jira</title>
    <link>https://bugs.mojang.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en</language>    <build-info>
        <version>9.12.2</version>
        <build-number>9120002</build-number>
        <build-date>10-01-2024</build-date>
    </build-info>


<item>
            <title>[MC-5020] /gamemode doesn&apos;t work as expected on command blocks</title>
                <link>https://bugs.mojang.com/browse/MC-5020</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;What I expected to happen was:&lt;br/&gt;
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&lt;/p&gt;

&lt;p&gt;What actually happened was:&lt;br/&gt;
Nothing. I tried with another command (/say) and it worked fine.&lt;/p&gt;

&lt;p&gt;Steps to Reproduce:&lt;br/&gt;
1. Make a 2-clock&lt;br/&gt;
2. Attach a command block to the output&lt;br/&gt;
3. Change the command block&apos;s command to /gamemode 2 @a&lt;/p&gt;</description>
                <environment>OSX 10.6, Java 6</environment>
        <key id="17580">MC-5020</key>
            <summary>/gamemode doesn&apos;t work as expected on command blocks</summary>
                <type id="1" iconUrl="https://bugs.mojang.com/secure/viewavatar?size=xsmall&amp;avatarId=18903&amp;avatarType=issuetype">Bug</type>
                                    <status id="5" iconUrl="https://bugs.mojang.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="modernpixel">Huw Evans</reporter>
                        <labels>
                    </labels>
                <created>Thu, 20 Dec 2012 04:15:21 +0100</created>
                <updated>Sun, 10 Feb 2013 02:32:53 +0100</updated>
                            <resolved>Thu, 20 Dec 2012 15:39:00 +0100</resolved>
                                    <version>Minecraft 1.4.5</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="29629" author="bljat" created="Thu, 20 Dec 2012 15:39:00 +0100"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://bugs.mojang.com/browse/MC-3945&quot; title=&quot;/gamemode does not work as expected with command blocks.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-3945&quot;&gt;&lt;del&gt;MC-3945&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="29614" author="i_joker_i" created="Thu, 20 Dec 2012 13:44:14 +0100"  >&lt;p&gt;When I use this command in the new 1.4.6 Version, it works! &lt;/p&gt;</comment>
                            <comment id="29610" author="mustek" created="Thu, 20 Dec 2012 13:41:12 +0100"  >&lt;p&gt;Works for me in 1.4.6.&lt;/p&gt;</comment>
                            <comment id="29581" author="kumasasa" created="Thu, 20 Dec 2012 08:03:37 +0100"  >&lt;p&gt;Works as expected.&lt;br/&gt;
You may (should ?) omit the leading &quot;/&quot; of the commands, thats only needed in the chat console. &lt;/p&gt;</comment>
                            <comment id="29574" author="insomniac_lemon" created="Thu, 20 Dec 2012 06:43:24 +0100"  >&lt;p&gt;/gamemode 2 @a is the correct command, and I tried that and it worked perfectly fine for me.&lt;/p&gt;</comment>
                            <comment id="29570" author="modernpixel" created="Thu, 20 Dec 2012 05:27:14 +0100"  >&lt;p&gt;That definitely does not work. Even in the command line.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="16212">MC-3945</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="15660" name="2012-12-20_08.02.00.png" size="122566" author="kumasasa" created="Thu, 20 Dec 2012 08:03:37 +0100"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Unconfirmed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_11700" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10501" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Game Mode</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10305"><![CDATA[Creative]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_11100" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Linked</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i06nz3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>