<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:27:34 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-11416] Dispenser / Dropper / Piston / Command block placing is not consistent</title>
                <link>https://bugs.mojang.com/browse/MC-11416</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;p&gt;All pistons were placed standin on top of the lamp. I allways aimed for the block behind the piston. &lt;br/&gt;
If they placing functioned like logs placing does, they all wouuld be facing the lamp and not upwards. &lt;/p&gt;
</description>
                <environment></environment>
        <key id="25551">MC-11416</key>
            <summary>Dispenser / Dropper / Piston / Command block placing is not consistent</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="reckter">Hannes G&#252;delh&#246;fer</reporter>
                        <labels>
                            <label>facing</label>
                            <label>piston</label>
                            <label>placing</label>
                    </labels>
                <created>Sat, 9 Mar 2013 17:12:54 +0100</created>
                <updated>Wed, 12 Oct 2016 10:05:21 +0200</updated>
                            <resolved>Wed, 12 Oct 2016 10:05:21 +0200</resolved>
                                    <version>Minecraft 1.4.7</version>
                    <version>Minecraft 1.5</version>
                    <version>Minecraft 1.5.1</version>
                    <version>Minecraft 1.5.2</version>
                    <version>Minecraft 1.6.1</version>
                    <version>Minecraft 1.6.2</version>
                    <version>Minecraft 1.7.10</version>
                    <version>Minecraft 14w30b</version>
                    <version>Minecraft 14w30c</version>
                    <version>Minecraft 15w36d</version>
                    <version>Minecraft 15w51b</version>
                    <version>Minecraft 16w32b</version>
                                    <fixVersion>Minecraft 16w41a</fixVersion>
                                                        <votes>9</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="284652" author="emoluvjd2" created="Thu, 11 Feb 2016 21:39:08 +0100"  >&lt;p&gt;I thought they used the stairs placement algorithm?&lt;/p&gt;</comment>
                            <comment id="273495" author="JIRAUSER71590" created="Sun, 20 Dec 2015 00:42:49 +0100"  >&lt;p&gt;Also effects command blocks in thd 1.9 snapshots&lt;/p&gt;</comment>
                            <comment id="273494" author="venthedragon" created="Sun, 20 Dec 2015 00:38:59 +0100"  >&lt;p&gt;Still happens in the latest snapshot, 15w51b.&lt;/p&gt;</comment>
                            <comment id="273493" author="eekee" created="Sun, 20 Dec 2015 00:34:23 +0100"  >&lt;p&gt;logs are never a problem to place any more. why are all the sensitive components so hard to place?&lt;/p&gt;</comment>
                            <comment id="248213" author="marcono1234" created="Wed, 9 Sep 2015 18:30:05 +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;15w36d&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="205337" author="galaxy_2alex" created="Sat, 25 Oct 2014 15:00:18 +0200"  >&lt;p&gt;Is this still a concern in the &lt;em&gt;current Minecraft version&lt;/em&gt; &lt;b&gt;1.8.1 Prerelease 3&lt;/b&gt; / Launcher version &lt;b&gt;1.5.3&lt;/b&gt; or later? If so, please &lt;em&gt;update the affected versions&lt;/em&gt; in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="180427" author="dsohler" created="Sun, 27 Jul 2014 00:40:38 +0200"  >&lt;p&gt;Standing on the orange wool block and blacing the pistons.&lt;/p&gt;

&lt;p&gt;Still an issue in 14w30c.&lt;/p&gt;</comment>
                            <comment id="59943" author="ryhkault" created="Thu, 11 Apr 2013 19:51:28 +0200"  >&lt;p&gt;Still present in 1.5.1 (second picture)&lt;br/&gt;
Facing upward at the same blue spot.&lt;/p&gt;</comment>
                            <comment id="58529" author="dsohler" created="Tue, 2 Apr 2013 21:10:47 +0200"  >&lt;p&gt;This is like the crappy old behavior of placing logs. They maybe just didn&#8217;t fix placing for pistons, too.&lt;/p&gt;</comment>
                            <comment id="51379" author="bugi74" created="Sat, 9 Mar 2013 18:30:18 +0100"  >&lt;p&gt;&lt;b&gt;Fix&lt;/b&gt;&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeHeader panelHeader&quot; style=&quot;border-bottom-width: 1px;&quot;&gt;&lt;b&gt;BlockPistonBase.determineOrientation()&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;        &lt;span class=&quot;code-comment&quot;&gt;//&lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (MathHelper.abs((&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;)par4EntityPlayer.posX - (&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;)par1) &amp;lt; 2.0F
&lt;/span&gt;        &lt;span class=&quot;code-comment&quot;&gt;//        &amp;amp;&amp;amp; MathHelper.abs((&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;)par4EntityPlayer.posZ - (&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;)par3) &amp;lt; 2.0F)
&lt;/span&gt;        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; (MathHelper.abs((&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;) player.posX - ((&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;) x + 0.5F)) &amp;lt; 2.0F
                &amp;amp;&amp;amp; MathHelper.abs((&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;) player.posZ - ((&lt;span class=&quot;code-object&quot;&gt;float&lt;/span&gt;) z + 0.5F)) &amp;lt; 2.0F) {
            ...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The piston block&apos;s position was taken at its north-west corner, while player&apos;s position was its non-rounded value. This caused half-a-block shift (i.e. error) in the angle calculation.&lt;br/&gt;
The fix above simply adds 0.5 to both horizontal coordinates, thus calculating the angle based on the bottom center of the piston block.&lt;/p&gt;</comment>
                            <comment id="51375" author="bugi74" created="Sat, 9 Mar 2013 18:17:25 +0100"  >&lt;p&gt;This indeed seems to have a small offset bug into it. Seems like it calculates the angle (&quot;facing&quot;) based on the block corners, ignoring the exact position of the player. Lets see if I can find the relevant source code. (btw. affects 1.4.7, too)&lt;/p&gt;</comment>
                            <comment id="51360" author="reckter" created="Sat, 9 Mar 2013 17:16:42 +0100"  >&lt;p&gt;@Tails but this is the problem here. I stood in the exact same spot. And they should be facing all the same, don&apos;t you think? &lt;/p&gt;</comment>
                            <comment id="51359" author="bljat" created="Sat, 9 Mar 2013 17:14:13 +0100"  >&lt;p&gt;Pistons are placed always facing you.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="120931">MC-88328</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="16552">MC-4132</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="24017" name="2013-03-09_17.02.11.png" size="93550" author="reckter" created="Sat, 9 Mar 2013 17:12:54 +0100"/>
                            <attachment id="74154" name="2014-07-27_00.38.24.jpg" size="952081" author="dsohler" created="Sun, 27 Jul 2014 00:40:38 +0200"/>
                            <attachment id="27029" name="pistons.png" size="193821" author="ryhkault" created="Thu, 11 Apr 2013 19:50:39 +0200"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                <customfield id="customfield_10701" key="com.atlassian.jira.plugin.system.customfieldtypes:datetime">
                        <customfieldname>CHK</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 9 Mar 2013 18:35: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_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0jfg7:</customfieldvalue>

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