Like you can have this setup where you move from room to room through sleeping and exiting beds, or similar with boats and the like, if you're up close enough. Is this sort of cheaty or is it just gaming a feature for a cool tp system?
When you get up from a bed it will always try to place you at a block next to the bed so by blocking the spots around it except one you can make it so the player always gets up in that block. If you put the bed in a corner you can use this trick to make the player get up behind the wall in the other room.
When you get up from a bed it will always try to place you at a block next to the bed so by blocking the spots around it except one you can make it so the player always gets up in that block. If you put the bed in a corner you can use this trick to make the player get up behind the wall in the other room.
I noticed beds can be used to go through 1 block wide holes in walls, it's a funny quirk if anything.
But I don't see anything game breaking here, as if a monster were nearby you wouldn't be able to use your beds for starters
You have to secure your beds to some degree in order to use them, granted they should be made to require an actual build counted as a house and be well lit or spawn proofed as a rebalance, but as for tping from room to room using beds, nah, it may be an exploit but it's not a very big one tbh. Should this be patched? probably, but there are higher priority issues Mojang need to work on in my opinion.
When you get up from a bed it will always try to place you at a block next to the bed so by blocking the spots around it except one you can make it so the player always gets up in that block. If you put the bed in a corner you can use this trick to make the player get up behind the wall in the other room.
You'd think they would have fixed this by now since it can put the player in a dangerous spot (outside their house, where there could be mobs nearby):
I recently fixed this myself, in part to fix another bug with "sleep spawning" (I restored an old mechanic where if a mob can reach you you'll be woken up with a mob spawned next to the bed; this was removed in Beta 1.8 in favor of the current system, which lets you just put a bed down and sleep anywhere, no shelter needed, and mobs won't spawn if you sleep just before sunset):
public static ChunkCoordinates getRespawnCoordinates(World par0World, int posX, int posY, int posZ, int index)
{
int direction = par0World.getBlockMetadata(posX, posY, posZ) & 3;
for (int i = 0; i < 2; ++i)
{
int xo = posX - footBlockToHeadBlockMap[direction][0] * i - 1;
int zo = posZ - footBlockToHeadBlockMap[direction][1] * i - 1;
int xo2 = xo + 2;
int zo2 = zo + 2;
for (int x = xo; x <= xo2; ++x)
{
for (int z = zo; z <= zo2; ++z)
{
// Excludes corners (locations must be adjacent to the bed)
if (((x > xo && x < xo2) || (z > zo && z < zo2)) && par0World.doesBlockHaveSolidTopSurface(x, posY - 1, z) && !par0World.getBlockMaterial(x, posY, z).isOpaque() && !par0World.getBlockMaterial(x, posY + 1, z).isOpaque())
{
if (index <= 0) return new ChunkCoordinates(x, posY, z);
--index;
}
}
}
}
return null;
}
(This fix has little impact on where you can place a bed since if it is surrounded on all sides, except for the corners, then you probably can't reach it anyway (you could from above or below but that isn't usual, and there is no valid respawn point so you won't respawn properly; actually, I don't let you sleep at all if this is the case, with a message saying it is obstructed)
Otherwise, the ability to teleport from bed to bed just seems like a much more cumbersome version of using boats or minecarts (it only works at night and you have to cancel sleeping and make sure you get out in the right location so you can quickly click the next bed, while boats and minecarts let you simply hold down right-click):
It is possible to mount minecarts and boats as long as they are within 4-5 blocks (inclusive) from the player. Placing these in a straight line allows for extremely fast transport.
This has also been known since the earliest versions with boats or minecarts (beds didn't exist until Beta 1.3), the top comment says they hoped it would get fixed but it never was (nor would I want it to; my minecart system depends on being able to click on another minecart to go in another direction (an example of an intersection) and I'd rather not have to get out to do so; otherwise, making it so you need to actually click to get in, not just hold a button down, would reduce the efficiency without affecting my system as I only click once per intersection):
I recently fixed this myself, in part to fix another bug with "sleep spawning" (I restored an old mechanic where if a mob can reach you you'll be woken up with a mob spawned next to the bed; this was removed in Beta 1.8 in favor of the current system, which lets you just put a bed down and sleep anywhere, no shelter needed, and mobs won't spawn if you sleep just before sunset):
public static ChunkCoordinates getRespawnCoordinates(World par0World, int posX, int posY, int posZ, int index)
{
int direction = par0World.getBlockMetadata(posX, posY, posZ) & 3;
for (int i = 0; i < 2; ++i)
{
int xo = posX - footBlockToHeadBlockMap[direction][0] * i - 1;
int zo = posZ - footBlockToHeadBlockMap[direction][1] * i - 1;
int xo2 = xo + 2;
int zo2 = zo + 2;
for (int x = xo; x <= xo2; ++x)
{
for (int z = zo; z <= zo2; ++z)
{
// Excludes corners (locations must be adjacent to the bed)
if (((x > xo && x < xo2) || (z > zo && z < zo2)) && par0World.doesBlockHaveSolidTopSurface(x, posY - 1, z) && !par0World.getBlockMaterial(x, posY, z).isOpaque() && !par0World.getBlockMaterial(x, posY + 1, z).isOpaque())
{
if (index <= 0) return new ChunkCoordinates(x, posY, z);
--index;
}
}
}
}
return null;
}
(This fix has little impact on where you can place a bed since if it is surrounded on all sides, except for the corners, then you probably can't reach it anyway (you could from above or below but that isn't usual, and there is no valid respawn point so you won't respawn properly; actually, I don't let you sleep at all if this is the case, with a message saying it is obstructed)
Otherwise, the ability to teleport from bed to bed just seems like a much more cumbersome version of using boats or minecarts (it only works at night and you have to cancel sleeping and make sure you get out in the right location so you can quickly click the next bed, while boats and minecarts let you simply hold down right-click):
This has also been known since the earliest versions with boats or minecarts (beds didn't exist until Beta 1.3), the top comment says they hoped it would get fixed but it never was (nor would I want it to; my minecart system depends on being able to click on another minecart to go in another direction (an example of an intersection) and I'd rather not have to get out to do so; otherwise, making it so you need to actually click to get in, not just hold a button down, would reduce the efficiency without affecting my system as I only click once per intersection):
Mojang won't fix nifty glitches, the small benefit outweighs the (perceived) small risk. In practice, I have lost many homes to this glitch due to a creeper being right by outside. Or a skeleton.
-
Also I want the b.18 mechanic back as yeah beds are super cheaty.
I recently fixed this myself, in part to fix another bug with "sleep spawning" (I restored an old mechanic where if a mob can reach you you'll be woken up with a mob spawned next to the bed; this was removed in Beta 1.8 in favor of the current system, which lets you just put a bed down and sleep anywhere, no shelter needed, and mobs won't spawn if you sleep just before sunset):
public static ChunkCoordinates getRespawnCoordinates(World par0World, int posX, int posY, int posZ, int index)
{
int direction = par0World.getBlockMetadata(posX, posY, posZ) & 3;
for (int i = 0; i < 2; ++i)
{
int xo = posX - footBlockToHeadBlockMap[direction][0] * i - 1;
int zo = posZ - footBlockToHeadBlockMap[direction][1] * i - 1;
int xo2 = xo + 2;
int zo2 = zo + 2;
for (int x = xo; x <= xo2; ++x)
{
for (int z = zo; z <= zo2; ++z)
{
// Excludes corners (locations must be adjacent to the bed)
if (((x > xo && x < xo2) || (z > zo && z < zo2)) && par0World.doesBlockHaveSolidTopSurface(x, posY - 1, z) && !par0World.getBlockMaterial(x, posY, z).isOpaque() && !par0World.getBlockMaterial(x, posY + 1, z).isOpaque())
{
if (index <= 0) return new ChunkCoordinates(x, posY, z);
--index;
}
}
}
}
return null;
}
(This fix has little impact on where you can place a bed since if it is surrounded on all sides, except for the corners, then you probably can't reach it anyway (you could from above or below but that isn't usual, and there is no valid respawn point so you won't respawn properly; actually, I don't let you sleep at all if this is the case, with a message saying it is obstructed)
Otherwise, the ability to teleport from bed to bed just seems like a much more cumbersome version of using boats or minecarts (it only works at night and you have to cancel sleeping and make sure you get out in the right location so you can quickly click the next bed, while boats and minecarts let you simply hold down right-click):
This has also been known since the earliest versions with boats or minecarts (beds didn't exist until Beta 1.3), the top comment says they hoped it would get fixed but it never was (nor would I want it to; my minecart system depends on being able to click on another minecart to go in another direction (an example of an intersection) and I'd rather not have to get out to do so; otherwise, making it so you need to actually click to get in, not just hold a button down, would reduce the efficiency without affecting my system as I only click once per intersection):
A bigger issue with beds in my opinion is they allow resting in them when there is a block that can suffocate the player above them.
This wouldn't be a problem if they would work only if there is enough space beside them and if they would then spawn a player directly beside them
after they had been used to skip a night.
But I remember having to mine blocks away to avoid suffocation as a result of using them this way.
Instead what should happen is if there are no safe areas next to the bed for a player to spawn after they had slept or awoken from their beds, they should simply not work and say the bed is obstructed.
There is a mechanic in place for this, sort of, but it's not perfect and from what I remember, there are situations where this does fail.
Like you can have this setup where you move from room to room through sleeping and exiting beds, or similar with boats and the like, if you're up close enough. Is this sort of cheaty or is it just gaming a feature for a cool tp system?
When you get up from a bed it will always try to place you at a block next to the bed so by blocking the spots around it except one you can make it so the player always gets up in that block. If you put the bed in a corner you can use this trick to make the player get up behind the wall in the other room.
Good to know as well, thanks
I noticed beds can be used to go through 1 block wide holes in walls, it's a funny quirk if anything.
But I don't see anything game breaking here, as if a monster were nearby you wouldn't be able to use your beds for starters
You have to secure your beds to some degree in order to use them, granted they should be made to require an actual build counted as a house and be well lit or spawn proofed as a rebalance, but as for tping from room to room using beds, nah, it may be an exploit but it's not a very big one tbh. Should this be patched? probably, but there are higher priority issues Mojang need to work on in my opinion.
You'd think they would have fixed this by now since it can put the player in a dangerous spot (outside their house, where there could be mobs nearby):
MC-68200 Players can spawn outside of their house when waking up from a bed/respawning at a bed
I recently fixed this myself, in part to fix another bug with "sleep spawning" (I restored an old mechanic where if a mob can reach you you'll be woken up with a mob spawned next to the bed; this was removed in Beta 1.8 in favor of the current system, which lets you just put a bed down and sleep anywhere, no shelter needed, and mobs won't spawn if you sleep just before sunset):
(This fix has little impact on where you can place a bed since if it is surrounded on all sides, except for the corners, then you probably can't reach it anyway (you could from above or below but that isn't usual, and there is no valid respawn point so you won't respawn properly; actually, I don't let you sleep at all if this is the case, with a message saying it is obstructed)
Otherwise, the ability to teleport from bed to bed just seems like a much more cumbersome version of using boats or minecarts (it only works at night and you have to cancel sleeping and make sure you get out in the right location so you can quickly click the next bed, while boats and minecarts let you simply hold down right-click):
This has also been known since the earliest versions with boats or minecarts (beds didn't exist until Beta 1.3), the top comment says they hoped it would get fixed but it never was (nor would I want it to; my minecart system depends on being able to click on another minecart to go in another direction (an example of an intersection) and I'd rather not have to get out to do so; otherwise, making it so you need to actually click to get in, not just hold a button down, would reduce the efficiency without affecting my system as I only click once per intersection):
https://www.reddit.com/r/Minecraft/comments/dmrv8/boat_hopping_the_fastest_way_to_move_across_land/
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Mojang won't fix nifty glitches, the small benefit outweighs the (perceived) small risk. In practice, I have lost many homes to this glitch due to a creeper being right by outside. Or a skeleton.
-
Also I want the b.18 mechanic back as yeah beds are super cheaty.
A bigger issue with beds in my opinion is they allow resting in them when there is a block that can suffocate the player above them.
This wouldn't be a problem if they would work only if there is enough space beside them and if they would then spawn a player directly beside them
after they had been used to skip a night.
But I remember having to mine blocks away to avoid suffocation as a result of using them this way.
Instead what should happen is if there are no safe areas next to the bed for a player to spawn after they had slept or awoken from their beds, they should simply not work and say the bed is obstructed.
There is a mechanic in place for this, sort of, but it's not perfect and from what I remember, there are situations where this does fail.