<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 11:57:01 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-2188] Item gets used when right clicking on a saddled pig</title>
                <link>https://bugs.mojang.com/browse/MC-2188</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;When hold an item such as a splash potion or ender pearl, right clicking on a pig will use that item and make you get on the pig. Same thing for getting off.&lt;/p&gt;

&lt;p&gt;Code analysis: &lt;a href=&quot;https://bugs.mojang.com/browse/MC-2188?focusedCommentId=303628&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-303628&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://bugs.mojang.com/browse/MC-2188?focusedCommentId=303628&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-303628&lt;/a&gt;&lt;/p&gt;</description>
                <environment>Windows 7 32 bit, Java 7 Update 9</environment>
        <key id="13589">MC-2188</key>
            <summary>Item gets used when right clicking on a saddled pig</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="1">Fixed</resolution>
                                        <assignee username="grum">[Mojang] Grum (Erik Broes)</assignee>
                                    <reporter username="orionh">Orion Humphrey</reporter>
                        <labels>
                            <label>item</label>
                            <label>pig</label>
                            <label>saddle</label>
                    </labels>
                <created>Sun, 4 Nov 2012 08:03:47 +0100</created>
                <updated>Wed, 17 Aug 2016 20:13:04 +0200</updated>
                            <resolved>Thu, 11 Aug 2016 09:00:43 +0200</resolved>
                                    <version>Minecraft 1.4.2</version>
                    <version>Minecraft 1.4.5</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Minecraft 1.5</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Snapshot 13w16a</version>
                    <version>Snapshot 13w16b</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.6.4</version>
                    <version>Minecraft 13w38a</version>
                    <version>Minecraft 13w38b</version>
                    <version>Minecraft 13w38c</version>
                    <version>Minecraft 1.7.4</version>
                    <version>Minecraft 14w03b</version>
                    <version>Minecraft 14w05b</version>
                    <version>Minecraft 14w06b</version>
                    <version>Minecraft 14w07a</version>
                    <version>Minecraft 14w08a</version>
                    <version>Minecraft 1.7.5</version>
                    <version>Minecraft 14w21b</version>
                    <version>Minecraft 1.7.10</version>
                    <version>Minecraft 14w33c</version>
                    <version>Minecraft 14w34a</version>
                    <version>Minecraft 14w34b</version>
                    <version>Minecraft 14w34c</version>
                    <version>Minecraft 14w34d</version>
                    <version>Minecraft 1.8-pre1</version>
                    <version>Minecraft 1.8-pre2</version>
                    <version>Minecraft 15w32b</version>
                    <version>Minecraft 15w42a</version>
                    <version>Minecraft 1.8.9</version>
                    <version>Minecraft 15w51b</version>
                    <version>Minecraft 16w02a</version>
                    <version>Minecraft 1.9</version>
                    <version>Minecraft 1.9.1 Pre-Release 1</version>
                    <version>Minecraft 1.9.1 Pre-Release 2</version>
                    <version>Minecraft 1.9.1 Pre-Release 3</version>
                    <version>Minecraft 1.9.2</version>
                    <version>Minecraft 1.9.3 Pre-Release 3</version>
                    <version>Minecraft 1.9.4</version>
                    <version>Minecraft 16w20a</version>
                    <version>Minecraft 16w21a</version>
                    <version>Minecraft 16w21b</version>
                    <version>Minecraft 1.10 Pre-Release 1</version>
                    <version>Minecraft 1.10 Pre-Release 2</version>
                    <version>Minecraft 1.10</version>
                    <version>Minecraft 1.10.1</version>
                    <version>Minecraft 1.10.2</version>
                    <version>Minecraft 16w32a</version>
                                    <fixVersion>Minecraft 16w32b</fixVersion>
                                                        <votes>12</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="324947" author="marcono1234" created="Thu, 11 Aug 2016 19:01:01 +0200"  >&lt;p&gt;Confirmed fixed for 16w32b&lt;/p&gt;</comment>
                            <comment id="316870" author="__null" created="Thu, 23 Jun 2016 18:22:38 +0200"  >&lt;p&gt;Confirmed for &lt;font color=&quot;#060&quot;&gt;&lt;b&gt;1.10.2&lt;/b&gt;&lt;/font&gt;.&lt;/p&gt;</comment>
                            <comment id="316066" author="__null" created="Wed, 22 Jun 2016 19:05:12 +0200"  >&lt;p&gt;Confirmed for &lt;font color=&quot;#060&quot;&gt;&lt;b&gt;1.10.1&lt;/b&gt;&lt;/font&gt;.&lt;/p&gt;</comment>
                            <comment id="311891" author="__null" created="Wed, 8 Jun 2016 23:39:14 +0200"  >&lt;p&gt;Confirmed for &lt;font color=&quot;#060&quot;&gt;&lt;b&gt;1.10&lt;/b&gt;&lt;/font&gt;.&lt;/p&gt;</comment>
                            <comment id="311449" author="__null" created="Wed, 8 Jun 2016 00:56:51 +0200"  >&lt;p&gt;Confirmed for &lt;font color=&quot;#060&quot;&gt;&lt;b&gt;1.10-pre2&lt;/b&gt;&lt;/font&gt;.&lt;/p&gt;</comment>
                            <comment id="309468" author="__null" created="Fri, 3 Jun 2016 03:46:44 +0200"  >&lt;p&gt;Confirmed for &lt;font color=&quot;#060&quot;&gt;&lt;b&gt;1.10-pre1&lt;/b&gt;&lt;/font&gt;.&lt;/p&gt;</comment>
                            <comment id="307787" author="__null" created="Fri, 27 May 2016 00:58:45 +0200"  >&lt;p&gt;Confirmed for &lt;font color=&quot;#060&quot;&gt;&lt;b&gt;16w21b&lt;/b&gt;&lt;/font&gt;.&lt;/p&gt;</comment>
                            <comment id="307465" author="__null" created="Thu, 26 May 2016 01:06:04 +0200"  >&lt;p&gt;Confirmed for &lt;font color=&quot;#060&quot;&gt;&lt;b&gt;16w21a&lt;/b&gt;&lt;/font&gt;.&lt;/p&gt;</comment>
                            <comment id="305388" author="__null" created="Thu, 19 May 2016 00:03:59 +0200"  >&lt;p&gt;Confirmed for &lt;b&gt;16w20a&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="304188" author="__null" created="Thu, 12 May 2016 01:09:14 +0200"  >&lt;p&gt;Confirmed for &lt;b&gt;1.9.4&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="303628" author="marcono1234" created="Sun, 8 May 2016 22:39:08 +0200"  >&lt;p&gt;Please link to this comment in the description&lt;/p&gt;

&lt;p&gt;The following is based on a decompiled version of Minecraft 1.9 using MCP 9.24 beta.&lt;/p&gt;

&lt;p&gt;The reason for this is that the method &lt;tt&gt;net.minecraft.entity.passive.EntityPig.func_184645_a(EntityPlayer, EnumHand, ItemStack)&lt;/tt&gt; always returns for the client that it did not successfully interacted with the pig. Instead it should return that it successfully interacted with the pig but only start riding the pig server-side.&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;&lt;span class=&quot;code-keyword&quot;&gt;public&lt;/span&gt; &lt;span class=&quot;code-object&quot;&gt;boolean&lt;/span&gt; func_184645_a(EntityPlayer p_184645_1_, EnumHand p_184645_2_, ItemStack p_184645_3_)
{
    &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!&lt;span class=&quot;code-keyword&quot;&gt;super&lt;/span&gt;.func_184645_a(p_184645_1_, p_184645_2_, p_184645_3_))
    {
        &lt;span class=&quot;code-comment&quot;&gt;// Replaced &lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;
&lt;/span&gt;        &lt;span class=&quot;code-comment&quot;&gt;//&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getSaddled() &amp;amp;&amp;amp; !&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.worldObj.isRemote &amp;amp;&amp;amp; !&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.isBeingRidden())
&lt;/span&gt;        &lt;span class=&quot;code-comment&quot;&gt;//    {
&lt;/span&gt;        &lt;span class=&quot;code-comment&quot;&gt;//        p_184645_1_.startRiding(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;);
&lt;/span&gt;        &lt;span class=&quot;code-comment&quot;&gt;//        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
&lt;/span&gt;        &lt;span class=&quot;code-comment&quot;&gt;//    }
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.getSaddled() &amp;amp;&amp;amp; !&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.isBeingRidden())
        {
            &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (!&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;.worldObj.isRemote) {
                p_184645_1_.startRiding(&lt;span class=&quot;code-keyword&quot;&gt;this&lt;/span&gt;);
            }
            
            &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
        }
        &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
        {
            &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;false&lt;/span&gt;;
        }
    }
    &lt;span class=&quot;code-keyword&quot;&gt;else&lt;/span&gt;
    {
        &lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; &lt;span class=&quot;code-keyword&quot;&gt;true&lt;/span&gt;;
    }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="303238" author="__null" created="Fri, 6 May 2016 02:05:36 +0200"  >&lt;p&gt;Confirmed for &lt;b&gt;1.9.3-pre3&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="294978" author="james549" created="Wed, 16 Mar 2016 00:35:19 +0100"  >&lt;p&gt;Confirmed for &lt;b&gt;1.9.1-pre3&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="277875" author="james549" created="Thu, 14 Jan 2016 00:17:41 +0100"  >&lt;p&gt;Confirmed for &lt;b&gt;16w02a&lt;/b&gt;.&lt;/p&gt;</comment>
                            <comment id="275928" author="james549" created="Sun, 3 Jan 2016 21:50:06 +0100"  >&lt;p&gt;Confirmed for &lt;b&gt;15w51b&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;I&apos;ve tested this with water/lava buckets, snowballs/eggs/ender pearls, and all boats.&lt;/p&gt;</comment>
                            <comment id="255808" author="marcono1234" created="Fri, 16 Oct 2015 14:43:06 +0200"  >&lt;p&gt;Confirmed for&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;b&gt;15w42a&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="241012" author="uz0n" created="Fri, 7 Aug 2015 12:55:45 +0200"  >&lt;p&gt;Confirmed in 15w32b.&lt;/p&gt;</comment>
                            <comment id="193357" author="crazystevenz" created="Sun, 24 Aug 2014 14:50:11 +0200"  >&lt;p&gt;Confirmed in 1.8-pre1&lt;/p&gt;</comment>
                            <comment id="159476" author="marcono1234" created="Fri, 23 May 2014 18:44:04 +0200"  >&lt;p&gt;Confirmed for 14w21b&lt;/p&gt;</comment>
                            <comment id="144360" author="hartspoon" created="Mon, 3 Mar 2014 17:11:15 +0100"  >&lt;p&gt;Still a concern in 14w08a.&lt;/p&gt;</comment>
                            <comment id="24877" author="bljat" created="Sun, 25 Nov 2012 19:57:43 +0100"  >&lt;p&gt;Confirmed in 1.4.5.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="25926">MC-11695</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="97227">MC-69597</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="29944">MC-14525</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="37664">MC-19033</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="148091">MC-106302</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 26 Jan 2013 20:40:00 +0100</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10500" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Confirmation Status</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10303"><![CDATA[Confirmed]]></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_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|i0lajr:</customfieldvalue>

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