<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:29:39 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-12053] Creative: Items dropped from hotbar slot 1 don&apos;t stack with slot 1</title>
                <link>https://bugs.mojang.com/browse/MC-12053</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;Items dropped from the hotbar while show survival inventory in creative mode, don&apos;t stack with the remaining items of slot 1, instead the next free slot is used.&lt;/p&gt;

&lt;p&gt;Steps to reproduce:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Creative Mode&lt;/li&gt;
	&lt;li&gt;Open Inventory&lt;/li&gt;
	&lt;li&gt;Place a stack of any item in slot 1&lt;/li&gt;
	&lt;li&gt;While hovering over slot 1, press Q&lt;/li&gt;
	&lt;li&gt;Close inventory&lt;/li&gt;
	&lt;li&gt;Pick up the dropped items&lt;br/&gt;
-&amp;gt; Voila, slot 2 is used&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>Win 7-64&lt;br/&gt;
Java 7U17</environment>
        <key id="26784">MC-12053</key>
            <summary>Creative: Items dropped from hotbar slot 1 don&apos;t stack with slot 1</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="kumasasa">Kumasasa</reporter>
                        <labels>
                    </labels>
                <created>Sat, 16 Mar 2013 12:22:34 +0100</created>
                <updated>Sat, 23 Mar 2013 11:05:44 +0100</updated>
                            <resolved>Sat, 16 Mar 2013 14:33:53 +0100</resolved>
                                    <version>Snapshot 13w11a</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="54031" author="kumasasa" created="Sat, 16 Mar 2013 14:36:51 +0100"  >&lt;p&gt;@Markku: Clearly the same issue.&lt;/p&gt;</comment>
                            <comment id="54028" author="kumasasa" created="Sat, 16 Mar 2013 14:33:53 +0100"  >&lt;p&gt;Duplicate of &lt;a href=&quot;https://bugs.mojang.com/browse/MC-5415&quot; title=&quot;Creative Mode Item Duplication into hotbar&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-5415&quot;&gt;&lt;del&gt;MC-5415&lt;/del&gt;&lt;/a&gt;, please use the &lt;a href=&quot;https://mojang.atlassian.net/secure/IssueNavigator.jspa&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;search function&lt;/a&gt; to see if your bug has already been submitted. Currently &lt;b&gt;over 54%&lt;/b&gt; of tickets are being closed as duplicate.&lt;/p&gt;</comment>
                            <comment id="54021" author="bugi74" created="Sat, 16 Mar 2013 14:17:01 +0100"  >&lt;p&gt;Hmm.. duplicate of &lt;a href=&quot;https://bugs.mojang.com/browse/MC-5415&quot; title=&quot;Creative Mode Item Duplication into hotbar&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-5415&quot;&gt;&lt;del&gt;MC-5415&lt;/del&gt;&lt;/a&gt;? (See especially &lt;a href=&quot;https://bugs.mojang.com/browse/MC-6832&quot; title=&quot;Dropping items by hovering over an item and pressing the &amp;quot;drop&amp;quot; key duplicates the item on the ground in creative&quot; class=&quot;issue-link&quot; data-issue-key=&quot;MC-6832&quot;&gt;&lt;del&gt;MC-6832&lt;/del&gt;&lt;/a&gt;). It might be that these various methods of duplication related to reducing stack size in creative intentory are just symptoms of the same bug.&lt;/p&gt;

&lt;p&gt;Also, I dug into the relevant code, and seems the relevant code is decreasing the count on the &apos;slot&apos; the method has been provided with (client side thing), but when it sends a packet to server, the packet is one that defines the slot as constant &apos;-1&apos;. Server doesn&apos;t know which slot to adjust (or adjusts some wrong slot?) and thus the server side count is kept unchanged.&lt;/p&gt;

&lt;p&gt;Once the player e.g. presses &apos;Q&apos; outside inventory, a normal packet to handle that is sent to server, which then returns its idea of the quantity to the client. That quantity will be naturally original quantity - 1.&lt;/p&gt;

&lt;p&gt;I think I need to continue on the 5415...&lt;/p&gt;</comment>
                            <comment id="53980" author="bugi74" created="Sat, 16 Mar 2013 12:32:09 +0100"  >&lt;p&gt;After finishing (and confirming) the reproduction steps, I continued with using &apos;q&apos; while inventory was closed. The slot 1 quantity immediate jumped to 63 (from 60). This could indicate that the quantity shown while inventory is open is decreased, but the stack size is kept full. Thus, when picking the first dropped items back, the first slot stack being full forces the use of the next slot.&lt;/p&gt;

&lt;p&gt;This can be further tested by using non-full stack at first; as long as the initial amount + dropped amount fits in single stack, the next slot is not taken into use.&lt;/p&gt;

&lt;p&gt;Edit: more clearly, the bug is not that the items wouldn&apos;t stack, the bug is that the stack quantity is not really reduced (while the quantity number would show it is).&lt;br/&gt;
Edit2: that bug (of not reducing stack size correctly) seems to affect any slot, not just slot 1.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Bonfire Testing</name>
                                                                <inwardlinks description="discovered while testing">
                                        <issuelink>
            <issuekey id="26240">MC-11756</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="18018">MC-5415</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="25119" name="2013-03-16_12.21.56.png" size="122928" author="kumasasa" created="Sat, 16 Mar 2013 12:22:34 +0100"/>
                            <attachment id="25120" name="2013-03-16_12.22.00.png" size="123666" author="kumasasa" created="Sat, 16 Mar 2013 12:22:34 +0100"/>
                            <attachment id="25121" name="2013-03-16_12.22.05.png" size="200114" author="kumasasa" created="Sat, 16 Mar 2013 12:22:34 +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>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i06udj:</customfieldvalue>

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