Beds and the /teleport command
Linked Issues
is duplicated by6
Created Issue:
Beds and the /tp command
You can /tp yourself out of a bed and you will be teleported, but then you can't actually sleep. You will have to Leave Bed in order o go back to the actual bed and sleep.
Upon clicking Leave Bed you will return to the side of your
Environment
Latest release of Java
You can /tp yourself out of a bed and you will be teleported, but then you can't actually sleep. You will have to Leave Bed in order to go back to the actual bed and sleep.
Upon clicking Leave Bed you will return to the side of your
You can /tp yourself out of a bed and you will be teleported, but then you can't actually sleep. You will have to Leave Bed in order to go back to the actual bed and sleep.
Upon clicking Leave Bed you will return to the side of your bed.
is duplicated by
is duplicated by
is duplicated by
You can /tp yourself out of a bed and you will be teleported, but the
n you can't actually sleep. You will have to Leave Bed in order to go back to the actual bed and sleep.Upon clicking Leave Bed you will return to the side of your bed.
You can /tp yourself out of a bed and you will be teleported, but the sleeping process continues. Upon clicking "Leave Bed" you will return to the side of the bed.
is duplicated by
You can /tp yourself out of a bed and you will be teleported, but the sleeping process continues. Upon clicking "Leave Bed" you will return to the side of the bed.
You can /tp yourself out of a bed and you will be teleported, but the sleeping process continues.
Upon clicking "Leave Bed" you will return to the side of the bed.
Latest release of Java
is duplicated by
MC-113934
is duplicated by
is duplicated by
You can /t
pyourself out of a bed and you will be teleported, but the sleeping process continues.
Upon clicking "Leave Bed" you will return to the side of the bed.
Beds and the /tpcommandBeds and the /teleport command
Duplicate of MC-3715, please use the search function to see if your bug has already been submitted. Currently over 53% of tickets are being closed as duplicate.
Duplicate of MC-3715
If you have not, please use the search function in the future, to see if your bug has already been submitted. If you could not find the original report, please comment with the keywords you searched for.
Probably duplicates or relates to MC-3715
Thank you for your report!
However, this issue is a Duplicate of MC-3715.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki
Summary:
in vanilla multiplayer world, you can teleport yourself or other who sleeping on bed. also hostile mob deem you at position you been teleported. damage can wake player up besides bed.
Steps to Reproduce:
- let one of a player sleep, could be yourself or someone else.
- tp the player who sleeping
Observed Results:
player keep sleep also keep its sleep animation, even it can sleeping in the sky. Upon clicking "Leave Bed" you will return to the side of the bed, same for take damage from mobs.
Expected Results:
sleep process should be disrupted and it be teleported to specific location
Notes:
same issue with MC-3715, but it in Java edition and been fixed
sorry I post video on Youtube cuz it over upload limit
video link https://youtu.be/7i-FuAW6NSk
When teleporting a sleeping entity, it will awaken as a result of the resolution of MC-3715. However, the entity won't be teleported to the intended position. This issue occurs with both the TP command and ender pearls, which teleport mobs or players. They will only wake up, and to teleport them to the desired location, the command needs to be executed again.
Reproduction steps
/time set midnight
- Place bed
- Summon villager
/tp @e[type=minecraft:villager,limit=1,sort=nearest,distance=..10] ~ ~ ~
Observation from the reproducer: The villager did not teleport to you; it merely awakened. To teleport it to you, the command needs to be executed again.
Expectation from the reproducer: The villager will arrive at your location with just one execution of the command.
Confirmed. Recommend restricting at least the tp command when in bed.
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.
As of 1.5.1 you're still getting teleported while in bed, but you can sleep and awake at the bed.
I haven't tried this recently, but to go along with Dek it TP's you and you cannot sleep. Clicking "Leave bed" would bring you back to the bed.
Happened to me in 13w19a
Unable to reproduce the "not beeing able to sleep" part.
Is this still a concern in the latest Minecraft version 14w04b? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.
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.
Confirmed for
/summon MinecartCommandBlock ~ ~1 ~ {Command:/setblock ~ ~-4 ~ redstone_block,Riding:{id:MinecartCommandBlock,Command:"/scoreboard objectives add sleepingValue dummy",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:"/scoreboard players set @a sleepingValue 0"},Riding:{id:MinecartCommandBlock,Command:/setblock ~1 ~2 ~ command_block 0 replace {Command:"/scoreboard players set @a sleepingValue 1 {Sleeping:1b}"},Riding:{id:MinecartCommandBlock,Command:/setblock ~ ~2 ~-1 command_block 0 replace {Command:"/tp @a[score_sleepingValue_min=1] ~1000 ~ ~"},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]}}}}}}}}}}}}}}}}you should just make Minecraft check every few ticks whether or not there is a bed under you when you're asleep, and if not, have it wake you up.
Confirmed for 1.9-pre1
Confirmed for 16w42a
Can confirm for MC 1.12.1.
Confirmed in 1.12.2