<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:05:46 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-4794] Teleporting to negative coordinates is inaccurate</title>
                <link>https://bugs.mojang.com/browse/MC-4794</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #FFFFCE;border-color: #ccc;border-style: dashed;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelHeader&quot; style=&quot;border-bottom-width: 1px;border-bottom-style: dashed;border-bottom-color: #ccc;background-color: #F7D6C1;&quot;&gt;&lt;b&gt;Moderator Note:&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #FFFFCE;&quot;&gt;
&lt;p&gt;This is working as intended as there is no +0 &lt;b&gt;and&lt;/b&gt; -0 coordinate. 0 itself cannot be positive or negative, there are only coordinates greater or less than 0.&lt;br/&gt;
The coordinate of a &lt;em&gt;block&lt;/em&gt; is the coordinate rounded down, meaning anything from -0.1 to -1.0 is part of the -1 block coordinate. The center of the block at -1 is at -0.5.&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://bugs.mojang.com/secure/attachment/58701/2014-03-06_00.51.10.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;When teleporting to a negative coordinate, the player ends up one block closer to 0.&lt;/p&gt;

&lt;p&gt;For example, if I type &quot;/tp 400 60 -704&quot;, I will instead end up in 400 60 -703.&lt;br/&gt;
-25 50 -39 would end up in -24 50 -38.&lt;br/&gt;
The same problem occurs if using command blocks.&lt;/p&gt;

&lt;p&gt;I am not sure if the issue is present in previous versions. &lt;/p&gt;</description>
                <environment>Windows 7, 64 bit. </environment>
        <key id="17333">MC-4794</key>
            <summary>Teleporting to negative coordinates is inaccurate</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="6">Works As Intended</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="magixx">Lelele</reporter>
                        <labels>
                            <label>coordinate</label>
                            <label>inaccurate</label>
                            <label>negative</label>
                            <label>teleport</label>
                    </labels>
                <created>Sun, 16 Dec 2012 06:23:02 +0100</created>
                <updated>Wed, 13 Sep 2023 21:55:22 +0200</updated>
                            <resolved>Sun, 16 Dec 2012 09:23:03 +0100</resolved>
                                    <version>Minecraft 1.4.5</version>
                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="114278" author="kumasasa" created="Wed, 23 Oct 2013 21:17:18 +0200"  >&lt;p&gt;You&apos;re right. &lt;br/&gt;
Sorry for the noise.&lt;/p&gt;</comment>
                            <comment id="114269" author="rosssull" created="Wed, 23 Oct 2013 21:09:59 +0200"  >&lt;p&gt;It HAD changed. That was in version 1.7. Today, version 1.7.1 was released. this fixed the bug. I appreciate that you may have made a mistake and no offence meant. But Dustin was right, and I was having the same problem. Thank you for your help all the same. &lt;img class=&quot;emoticon&quot; src=&quot;https://bugs.mojang.com/images/icons/emoticons/wink.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="114267" author="kumasasa" created="Wed, 23 Oct 2013 21:06:19 +0200"  >&lt;p&gt;&lt;del&gt;Nothing has changed.&lt;/del&gt;&lt;br/&gt;
&lt;del&gt;Look at my screenshots and try it out.&lt;/del&gt;&lt;/p&gt;</comment>
                            <comment id="114217" author="dustinmaxim" created="Wed, 23 Oct 2013 19:13:05 +0200"  >&lt;p&gt;Thank you @Ross Sullivan. It absolutely has changed. I don&apos;t like arguing with mods.....but this HAS changed since previous versions.&lt;/p&gt;</comment>
                            <comment id="114197" author="rosssull" created="Wed, 23 Oct 2013 18:03:12 +0200"  >&lt;p&gt;This isn&apos;t a misconception. It has changed and he is asking the question of whether or not the new coordinate system is permanent.&lt;/p&gt;</comment>
                            <comment id="113972" author="dustinmaxim" created="Wed, 23 Oct 2013 01:00:15 +0200"  >&lt;p&gt;Kk.&lt;/p&gt;</comment>
                            <comment id="113967" author="kumasasa" created="Wed, 23 Oct 2013 00:51:36 +0200"  >&lt;p&gt;&lt;del&gt;There is no issue, just a misconception of the coordinate system.&lt;/del&gt;&lt;/p&gt;</comment>
                            <comment id="113965" author="dustinmaxim" created="Wed, 23 Oct 2013 00:47:51 +0200"  >&lt;p&gt;The issue described in the description. Teleporting one block closer to 0,0 with negative cords.&lt;/p&gt;</comment>
                            <comment id="113961" author="kumasasa" created="Wed, 23 Oct 2013 00:45:51 +0200"  >&lt;p&gt;@Dustin Held: &lt;em&gt;What&lt;/em&gt; behaviour do you mean exactly ?&lt;/p&gt;</comment>
                            <comment id="113959" author="dustinmaxim" created="Wed, 23 Oct 2013 00:42:09 +0200"  >&lt;p&gt;Can somebody just tell me.....is this behavior totally intended and will stay in the game for the foreseeable future?&lt;/p&gt;</comment>
                            <comment id="65351" author="bljat" created="Tue, 7 May 2013 15:42:10 +0200"  >&lt;p&gt;Please do not mark issues as private, unless your bug report is a security issue containing information that may compromise your server/client.&lt;/p&gt;</comment>
                            <comment id="58377" author="kumasasa" created="Mon, 1 Apr 2013 22:25:29 +0200"  >&lt;p&gt;It&apos;s all correct. &lt;br/&gt;
Think of a coordinate system on graph paper. The axes of the coordinate system go exactly through each one line on the paper, the squares on the paper are the blocks.&lt;br/&gt;
--&amp;gt; The integer coordinates mark the &lt;b&gt;corners&lt;/b&gt; of the blocks, not the blocks itself.&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;If you teleport to (0.0/0.0), you land on the exact center of the coordinate system.&lt;/li&gt;
	&lt;li&gt;If you teleport to (0/0), you land on the middle of the block &lt;b&gt;right&lt;/b&gt; of the Z axis and below the X axis (Yellow block), but at the coordinates (0.5/0.5)&lt;/li&gt;
	&lt;li&gt;If you teleport to (-1/0), you land on the middle of the block &lt;b&gt;left&lt;/b&gt; of the Z axis and below the X axis (Green block), but at the coordinates (-0.5/0.5)&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="57809" author="lazini" created="Fri, 29 Mar 2013 15:08:20 +0100"  >&lt;p&gt;I don&apos;t think that this works as intended because if you look next to the exact coordinates (next to all those numbers) there are parenthesis with an integer of your x/z. If x = -849. 21371, the integer will be 850, but if z = 360.78782 then the integer will be 360. For some reason if the coordinate is negative, it will add one to make it an integer. I think it&apos;s still a bug.&lt;/p&gt;</comment>
                            <comment id="28749" author="kumasasa" created="Sun, 16 Dec 2012 09:23:03 +0100"  >&lt;p&gt;Please take a closer look at the coordinates.&lt;/p&gt;

&lt;p&gt;The coordinates mark the &lt;b&gt;corners&lt;/b&gt; of the blocks. &lt;br/&gt;
If you omit the fractinonal digits, you land always at the &lt;b&gt;center&lt;/b&gt; of the nearest block (seen in +x, +z direction):&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;If you teleport to 1 / y / 1, you land at 1.5 / y /1.5&lt;/li&gt;
	&lt;li&gt;If you teleport to -1 / y / -1 you land at -0,5 / y / -0.5&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;but if you specify the fractinonal digits, you land excactly at given coordinates:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;If you teleport to 1.0 / y / 1.0, you land at 1.0 / y /1.0&lt;/li&gt;
	&lt;li&gt;If you teleport to -1.0 / y / -1.0 you land at -1.0 / y / -1.0&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="18918">MC-6253</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="20261">MC-7467</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="24268">MC-10320</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="28057">MC-13121</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="36712">MC-18364</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="55799">MC-34125</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="58664">MC-36551</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="58724">MC-36609</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="61459">MC-39099</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="61991">MC-39578</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="64019">MC-40960</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="74482">MC-48757</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="75809">MC-49993</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="76562">MC-50689</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="82357">MC-55869</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="91604">MC-64185</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="95882">MC-68303</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="100288">MC-72457</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="102610">MC-74560</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="103898">MC-75685</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="106230">MC-77548</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="111229">MC-81109</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="111553">MC-81291</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="116304">MC-84853</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="117248">MC-85559</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="136033">MC-98309</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="162522">MC-113466</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="164022">MC-114056</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="165375">MC-114565</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="190858">MC-124436</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="191423">MC-124603</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="191940">MC-124828</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="204448">MC-131725</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="205603">MC-132384</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="211075">MC-135638</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="275007">MC-166839</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="362653">MC-197494</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="422990">MC-219792</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="482261">MC-241478</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13370">MC-1988</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13472">MC-2080</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="14712">MC-2849</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10103">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="82140">MC-55671</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="58716">MC-36602</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="66585">MC-42494</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="85272">MC-58097</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="244105">MC-153454</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="26568" name="2013-04-01_21.59.36.png" size="100242" author="kumasasa" created="Mon, 1 Apr 2013 22:25:56 +0200"/>
                            <attachment id="26569" name="2013-04-01_21.59.55.png" size="95528" author="kumasasa" created="Mon, 1 Apr 2013 22:25:56 +0200"/>
                            <attachment id="26570" name="2013-04-01_22.08.10.png" size="504120" author="kumasasa" created="Mon, 1 Apr 2013 22:25:56 +0200"/>
                            <attachment id="26571" name="2013-04-01_22.24.39.png" size="40617" author="kumasasa" created="Mon, 1 Apr 2013 22:25:56 +0200"/>
                            <attachment id="45569" name="2013-10-23_21.14.54.png" size="42341" author="kumasasa" created="Wed, 23 Oct 2013 21:17:41 +0200"/>
                            <attachment id="45570" name="2013-10-23_21.15.13.png" size="41830" author="kumasasa" created="Wed, 23 Oct 2013 21:17:41 +0200"/>
                            <attachment id="45571" name="2013-10-23_21.15.55.png" size="43337" author="kumasasa" created="Wed, 23 Oct 2013 21:17:41 +0200"/>
                            <attachment id="45572" name="2013-10-23_21.16.02.png" size="45435" author="kumasasa" created="Wed, 23 Oct 2013 21:17:41 +0200"/>
                    </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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0e57z:</customfieldvalue>

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