<!-- 
RSS generated by JIRA (9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13) at Sun Jan 12 12:02:09 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-3715] Beds and the /teleport command</title>
                <link>https://bugs.mojang.com/browse/MC-3715</link>
                <project id="10400" key="MC">Minecraft: Java Edition</project>
                    <description>&lt;h3&gt;&lt;a name=&quot;Thebug&quot;&gt;&lt;/a&gt;The bug&lt;/h3&gt;
&lt;p&gt;You can &lt;tt&gt;/teleport&lt;/tt&gt; yourself out of a bed and you will be teleported, but the sleeping process continues. Upon clicking &quot;Leave Bed&quot; you will return to the side of the bed.&lt;/p&gt;</description>
                <environment></environment>
        <key id="15856">MC-3715</key>
            <summary>Beds and the /teleport command</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="rockenroll4life">rockenroll4life (Josh Letellier)</assignee>
                                    <reporter username="firehunterx">FireHunterX</reporter>
                        <labels>
                            <label>bed</label>
                            <label>teleport</label>
                    </labels>
                <created>Thu, 22 Nov 2012 22:57:13 +0100</created>
                <updated>Wed, 15 Aug 2018 12:40:35 +0200</updated>
                            <resolved>Wed, 15 Aug 2018 12:40:34 +0200</resolved>
                                    <version>Minecraft 1.4.5</version>
                    <version>Snapshot 12w50a</version>
                    <version>Minecraft 1.4.6</version>
                    <version>Minecraft 1.4.7</version>
                    <version>Minecraft 1.8</version>
                    <version>Minecraft 1.8.5</version>
                    <version>Minecraft 1.8.8</version>
                    <version>Minecraft 15w37a</version>
                    <version>Minecraft 15w44b</version>
                    <version>Minecraft 15w45a</version>
                    <version>Minecraft 1.8.9</version>
                    <version>Minecraft 1.9 Pre-Release 1</version>
                    <version>Minecraft 1.9 Pre-Release 4</version>
                    <version>Minecraft 1.9</version>
                    <version>Minecraft 1.10.2</version>
                    <version>Minecraft 16w32a</version>
                    <version>Minecraft 16w32b</version>
                    <version>Minecraft 16w33a</version>
                    <version>Minecraft 16w35a</version>
                    <version>Minecraft 16w42a</version>
                    <version>Minecraft 1.11.2</version>
                    <version>Minecraft 1.12 Pre-Release 6</version>
                    <version>Minecraft 1.12</version>
                    <version>Minecraft 1.12.1</version>
                    <version>Minecraft 1.12.2</version>
                    <version>Minecraft 18w22c</version>
                                    <fixVersion>Minecraft 18w33a</fixVersion>
                                                        <votes>11</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="410587" author="gregmilson" created="Tue, 3 Oct 2017 14:25:43 +0200"  >&lt;p&gt;Confirmed in 1.12.2&lt;/p&gt;</comment>
                            <comment id="399269" author="bemoty" created="Mon, 14 Aug 2017 03:05:10 +0200"  >&lt;p&gt;Can confirm for MC 1.12.1.&lt;/p&gt;</comment>
                            <comment id="336281" author="litargirio" created="Fri, 21 Oct 2016 13:52:47 +0200"  >&lt;p&gt;Confirmed for 16w42a&lt;/p&gt;</comment>
                            <comment id="286836" author="immaterialise" created="Wed, 17 Feb 2016 20:18:27 +0100"  >&lt;p&gt;Confirmed for 1.9-pre1&lt;/p&gt;</comment>
                            <comment id="234182" author="lewmas fain" created="Mon, 13 Jul 2015 16:28:20 +0200"  >&lt;p&gt;you should just make Minecraft check every few ticks whether or not there is a bed under you when you&apos;re asleep, and if not, have it wake you up.&lt;/p&gt;</comment>
                            <comment id="228153" author="marcono1234" created="Sun, 24 May 2015 16:56:01 +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;1.8.5&lt;/b&gt; The player actually teleports but when &quot;leaving&quot; the bed causes you to get to the position of the bed. However the way the chunks are loaded is really bad&lt;/li&gt;
&lt;/ul&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;Example command&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;/summon MinecartCommandBlock ~ ~1 ~ {Command:/setblock ~ ~-4 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:&lt;span class=&quot;code-quote&quot;&gt;&quot;/scoreboard objectives add sleepingValue dummy&quot;&lt;/span&gt;,Riding:{id:MinecartCommandBlock,Command:/fill ~ ~2 ~ ~ ~2 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:/setblock ~ ~1 ~ command_block 0 replace {Command:/fill ~ ~1 ~ ~ ~1 ~ stone 0 replace redstone_block},Riding:{id:MinecartCommandBlock,Command:/setblock ~ ~3 ~ command_block 0 replace {Command:/fill ~ ~-1 ~ ~ ~-1 ~ redstone_block 0 replace stone},Riding:{id:MinecartCommandBlock,Command:/setblock ~-1 ~2 ~ command_block 0 replace {Command:&lt;span class=&quot;code-quote&quot;&gt;&quot;/scoreboard players set @a sleepingValue 0&quot;&lt;/span&gt;},Riding:{id:MinecartCommandBlock,Command:/setblock ~1 ~2 ~ command_block 0 replace {Command:&lt;span class=&quot;code-quote&quot;&gt;&quot;/scoreboard players set @a sleepingValue 1 {Sleeping:1b}&quot;&lt;/span&gt;},Riding:{id:MinecartCommandBlock,Command:/setblock ~ ~2 ~-1 command_block 0 replace {Command:&lt;span class=&quot;code-quote&quot;&gt;&quot;/tp @a[score_sleepingValue_min=1] ~1000 ~ ~&quot;&lt;/span&gt;},Riding:{id:MinecartCommandBlock,Riding:{id:FallingSand,Time:1,Block:activator_rail,Riding:{id:FallingSand,Time:1,Block:redstone_block,Riding:{id:FallingSand,Time:1,Block:stone,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:/fill ~ ~-2 ~ ~ ~3 ~ air},Riding:{id:FallingSand,Time:1,Block:stone,Riding:{id:FallingSand,Time:1,Block:command_block,TileEntityData:{Command:/kill @e[type=MinecartCommandBlock,dy=6]}}}}}}}}}}}}}}}}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;Crash&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;[16:17:54] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.OutOfMemoryError: Java heap space
	at amw.&amp;lt;init&amp;gt;(SourceFile:9) ~[1.8.5.jar:?]
	at anj.a(SourceFile:176) ~[1.8.5.jar:?]
	at anj.a(SourceFile:94) ~[1.8.5.jar:?]
	at ld.b(SourceFile:160) ~[1.8.5.jar:?]
	at ld.a(SourceFile:204) ~[1.8.5.jar:?]
	at le.a(SourceFile:766) ~[1.8.5.jar:?]
	at net.minecraft.server.MinecraftServer.a(SourceFile:364) ~[1.8.5.jar:?]
	at net.minecraft.server.MinecraftServer.A(SourceFile:553) ~[1.8.5.jar:?]
	at bpo.A(SourceFile:152) ~[1.8.5.jar:?]
	at net.minecraft.server.MinecraftServer.run(SourceFile:451) [1.8.5.jar:?]
	at java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run(&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.java:745) [?:1.8.0_25]
[16:18:08] [Server thread/INFO]: Stopping server
[16:18:09] [Server thread/INFO]: Saving players
[16:18:13] [Server thread/ERROR]: Exception stopping the server
java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:3236) ~[?:1.8.0_25]
	at sun.misc.IOUtils.readFully(IOUtils.java:60) ~[?:1.8.0_25]
	at java.util.jar.JarFile.getBytes(JarFile.java:425) ~[?:1.8.0_25]
	at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193) ~[?:1.8.0_25]
	at java.util.jar.JarFile.getInputStream(JarFile.java:461) ~[?:1.8.0_25]
	at sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:776) ~[?:1.8.0_25]
	at sun.misc.Resource.cachedInputStream(Resource.java:77) ~[?:1.8.0_25]
	at sun.misc.Resource.getByteBuffer(Resource.java:160) ~[?:1.8.0_25]
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:442) ~[?:1.8.0_25]
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73) ~[?:1.8.0_25]
	at java.net.URLClassLoader$1.run(URLClassLoader.java:367) ~[?:1.8.0_25]
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[?:1.8.0_25]
	at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_25]
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[?:1.8.0_25]
	at java.lang.&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;.loadClass(&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;.java:424) ~[?:1.8.0_25]
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[?:1.8.0_25]
	at java.lang.&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;.loadClass(&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;.java:357) ~[?:1.8.0_25]
	at lm.c(SourceFile:168) ~[1.8.5.jar:?]
	at lx.u(SourceFile:777) ~[1.8.5.jar:?]
	at net.minecraft.server.MinecraftServer.t(SourceFile:383) ~[1.8.5.jar:?]
	at bpo.t(SourceFile:315) ~[1.8.5.jar:?]
	at net.minecraft.server.MinecraftServer.run(SourceFile:484) [1.8.5.jar:?]
	at java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run(&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.java:745) [?:1.8.0_25]
Exception in thread &lt;span class=&quot;code-quote&quot;&gt;&quot;Server thread&quot;&lt;/span&gt; java.lang.OutOfMemoryError: Java heap space
	at java.util.Arrays.copyOf(Arrays.java:3236)
	at sun.misc.IOUtils.readFully(IOUtils.java:60)
	at java.util.jar.JarFile.getBytes(JarFile.java:425)
	at java.util.jar.JarFile.getManifestFromReference(JarFile.java:193)
	at java.util.jar.JarFile.getInputStream(JarFile.java:461)
	at sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:776)
	at sun.misc.Resource.cachedInputStream(Resource.java:77)
	at sun.misc.Resource.getByteBuffer(Resource.java:160)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:367)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
	at java.lang.&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;.loadClass(&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;.loadClass(&lt;span class=&quot;code-object&quot;&gt;ClassLoader&lt;/span&gt;.java:357)
	at net.minecraft.server.MinecraftServer.run(SourceFile:469)
	at java.lang.&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.run(&lt;span class=&quot;code-object&quot;&gt;Thread&lt;/span&gt;.java:745)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="202284" author="ericz1" created="Fri, 3 Oct 2014 05:39:55 +0200"  >&lt;p&gt;As ancient as this issue is, confirmed for 1.8. You are still able to /tp when in a bed, although you will be able to sleep (repeatedly running the command seems to slow the process down). If you get far away enough chunks turn invisible/stop loading, and upon waking up all blocks are invisible until relogging or F3+A.&lt;/p&gt;</comment>
                            <comment id="135923" author="ezekielelin" created="Tue, 28 Jan 2014 17:45:16 +0100"  >&lt;p&gt;Is this still a concern in the latest Minecraft version &lt;b&gt;14w04b&lt;/b&gt;? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.&lt;/p&gt;</comment>
                            <comment id="67620" author="bljat" created="Mon, 20 May 2013 20:14:03 +0200"  >&lt;p&gt;Unable to reproduce the &quot;not beeing able to sleep&quot; part.&lt;/p&gt;</comment>
                            <comment id="67619" author="starcksjoen" created="Mon, 20 May 2013 19:54:57 +0200"  >&lt;p&gt;Happened to me in 13w19a&lt;/p&gt;</comment>
                            <comment id="67618" author="firehunterx" created="Mon, 20 May 2013 19:41:09 +0200"  >&lt;p&gt;I haven&apos;t tried this recently, but to go along with Dek it TP&apos;s you and you cannot sleep. Clicking &quot;Leave bed&quot; would bring you back to the bed.&lt;/p&gt;</comment>
                            <comment id="59083" author="bljat" created="Sat, 6 Apr 2013 20:16:53 +0200"  >&lt;p&gt;As of 1.5.1 you&apos;re still getting teleported while in bed, but you can sleep and awake at the bed.&lt;/p&gt;</comment>
                            <comment id="45521" author="dek" created="Wed, 13 Feb 2013 16:28:07 +0100"  >&lt;p&gt;Also an issue when using /tp command with a command block, you get teleported to your desired location, but you remain lying on the ground and not being able to sleep. Very annoying.&lt;/p&gt;</comment>
                            <comment id="24269" author="chalmes" created="Thu, 22 Nov 2012 23:36:44 +0100"  >&lt;p&gt;Confirmed.  Recommend restricting at least the tp command when in bed.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10102">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="24715">MC-10743</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="74829">MC-49082</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="121561">MC-88711</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="135774">MC-98110</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="177563">MC-119934</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="182568">MC-120956</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>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                <customfield id="customfield_11600" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i0jk2v:</customfieldvalue>

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