[MC-2416] Suffocation/jittering/stuck when spawning in a newly created world Created: 06/Nov/12  Updated: 29/Aug/17  Resolved: 01/Feb/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.3, Minecraft 1.4.4, Minecraft 1.4.5, Snapshot 12w49a, Snapshot 12w50b, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w01a, Snapshot 13w01b, Snapshot 13w02a, Snapshot 13w02b, Snapshot 13w04a
Fix Version/s: Snapshot 13w05b

Type: Bug
Reporter: Brendan Cookson Assignee: Unassigned
Resolution: Fixed Votes: 55
Labels: None
Environment:

Put your operating system (Windows 7, Windows XP, OSX) and Java version if you know it here


Attachments: JPEG File screenshot-1.jpg    
Issue Links:
Duplicate
is duplicated by MC-5424 Starting in survival/hardcore makes t... Resolved
is duplicated by MC-5632 World Bug Resolved
is duplicated by MC-5645 Character "bouncing" on screen, unabl... Resolved
is duplicated by MC-5739 I spawned underground Resolved
is duplicated by MC-5848 Jittering Resolved
is duplicated by MC-5964 Spawning Location Resolved
is duplicated by MC-5982 jerking upon entering game Resolved
is duplicated by MC-6107 there is a annoying bug its a spawn b... Resolved
is duplicated by MC-6525 Bug when you enter world Resolved
is duplicated by MC-6938 spawn in blocks Resolved
is duplicated by MC-6983 Created new world in 13w02a bouncing ... Resolved
is duplicated by MC-7242 Player glitches & bounces partially i... Resolved
is duplicated by MC-7366 Everytime I spawn i'm stuck in block Resolved
is duplicated by MC-7499 New World level bug Resolved
is duplicated by MC-7502 Spawned in the ground Resolved
is duplicated by MC-7906 spawning inside the ground (would hav... Resolved
is duplicated by MC-8246 when spawning cannot move until break... Resolved
is duplicated by MC-8651 Steve jumps back and forth at one poi... Resolved
is duplicated by MC-8741 Generating a flatworld of 1 block thi... Resolved
is duplicated by MC-9047 We you spawn you fall out of the world Resolved
is duplicated by MC-9294 Basically when you would start a supe... Resolved
is duplicated by MC-9904 Player Spawn In Block Resolved
is duplicated by MC-10061 Spawining inside of ground Resolved
is duplicated by MC-10446 Spawing in a new world. Resolved
is duplicated by MC-11255 Spawned feet underground bug Resolved
is duplicated by MC-11826 Repeated Shaking in Multiplayer at Spawn Resolved
is duplicated by MC-16636 Going into LAN spawning underground Resolved
is duplicated by MC-20234 World Generating Issue - Spawning In ... Resolved
is duplicated by MC-1851 Stuck on the ground spawning in a flo... Resolved
is duplicated by MC-2089 Struttering inside blocks after spawn Resolved
is duplicated by MC-2177 Dangerous Spawning Resolved
is duplicated by MC-2232 Bug when re-entering a world Resolved
is duplicated by MC-2540 spawning in the ground after creating... Resolved
is duplicated by MC-2550 Stuck In Blocks on New World Generation Resolved
is duplicated by MC-2578 When spawning after creating a new wo... Resolved
is duplicated by MC-2787 stuck when spawning ! Resolved
is duplicated by MC-2861 Player Stuck in Ground on SMP Resolved
is duplicated by MC-2982 Player spawns inside blocks in Surviv... Resolved
is duplicated by MC-2988 Spawning Resolved
is duplicated by MC-3022 1.4.4 character getting stuck on new ... Resolved
is duplicated by MC-3111 New world creation bug Resolved
is duplicated by MC-3129 Spawning in the air Resolved
is duplicated by MC-3216 spawn fail Resolved
is duplicated by MC-3258 When create a new world, player bobs ... Resolved
is duplicated by MC-3647 You die when spawning in a new world. Resolved
is duplicated by MC-3751 Player has to fall into the void to g... Resolved
is duplicated by MC-3797 Spawning In Blocks When Creating A Ne... Resolved
is duplicated by MC-3853 Makes player spawn 1 block under top ... Resolved
is duplicated by MC-4294 Stuck in a block Resolved
is duplicated by MC-4303 Keep spawning in the ground! Resolved
is duplicated by MC-4436 Spawned Under A Tree while in standin... Resolved
is duplicated by MC-4685 Spawn Jitters Resolved
is duplicated by MC-4709 You Spawn in blocks causing you to su... Resolved
is duplicated by MC-5016 When you spawn a world it glitches & ... Resolved
is duplicated by MC-5053 Getting stuck when spawning in new world Resolved
is duplicated by MC-5239 Submerged Spawning Resolved
Relates
relates to MC-68 Spawning in the air after creating a ... Resolved
relates to MC-7908 Spawning underwater / In the middle o... Resolved
CHK:
Confirmation Status: Confirmed
Game Mode: Survival

 Description   

When spawning in a new world you can rarley suficate in a wall/ block

What I expected to happen was...:
spawn ontop of a block not in one

What actually happened was...:
spawned in a block

Steps to Reproduce:
1. keep starting a new world
2. ...
3. ...



 Comments   
Comment by william daniel reid, jr. [ 23/Mar/13 ]

this appears to still be present in 1.5.1, as evidenced by this video i recorded: http://youtu.be/utaKNBbt-8w

Comment by Kevin Barth [ 06/Mar/13 ]

Yes, I am experiencing it in 1.4.7 as well. Had been away from Minecraft for a few months, came back and downloaded the most recent version and noticed the problem immediately. This is running on OS X 10.6.8. Happens about 3/4 of the time when creating a new world, and I've noticed it in plains, jungle, forest, and mountain biomes.

Comment by Wolfe Peavley [ 16/Feb/13 ]

Removed my previous comment. I misread the details.

Comment by Tails [ 16/Feb/13 ]

Where does it say it is fixed in 1.4.7? I would like to correct it.

Comment by C.J. Wijtmans [ 12/Feb/13 ]

lol somehow this appeared in my inbox .. weird.

Comment by C.J. Wijtmans [ 12/Feb/13 ]

lol somehow this appeared in my inbox .. weird.

Comment by Tails [ 12/Feb/13 ]

I suggest taking a closer look at "Resolution" and "Fix Version"

Comment by C.J. Wijtmans [ 12/Feb/13 ]

failed to reproduce on 06a, is it fixed?

Comment by C.J. Wijtmans [ 12/Feb/13 ]

i created a ton of new worlds but i failed to reproduce it on 05b ... i know it can happen but i cant reproduce it

Comment by Marge [ 02/Feb/13 ]

it happens to me to, i spawn a new world and get glitched in a block and have to break it.

Comment by Tom Willshire [ 28/Jan/13 ]

Happens very frequently in multiplayer as well. When I created a new world in 13w04a, I was jittering in a grass block in a forest biome.

Comment by NELSON [ 27/Jan/13 ]

it feels good with redstone

Comment by Maarten Thijs [ 24/Jan/13 ]

this happens some times on my sever when people get tpd to unloaden chunks.

Comment by Jay Eff [ 22/Jan/13 ]

Don't freeze the client from the server, freeze the client from the client and let the server know what's going on... I used to mod a multiplayer Star Trek game where players could 'transport' to different areas of the game, and I had to code a 'freeze' into the client to create a transporter visual that hid the 'void' while the client loaded geometry and texture data for a different area of the map from their harddrive. The server received a 'transporting' flag from that client while he was transporting, so he couldn't be affected by gravity or be allowed to move and fall into the 'void', and so he wouldn't get ganked (temporary invulnurability) while waiting for the transporter event to complete. The player was allowed to move after the 'transporting' flag was cleared both at the client and server. Since the freeze was initiated from the client, then managed by both the client and server, it was very easy to match the server's client ID with the actual client that was transporting. That's the Cliff's Notes description, it's hard to explain but it was easy to do. Depending on how Minecraft is programmed, it should be pretty easy to freeze a single client for a moment while spawning into a new world.

ACTUALLY... If this problem ONLY happens on first spawn into a new world... Expand on the 'freeze' idea and create a short, fun, quirky, Minecraft-ian 'Welcome to new world' visual that fades into the game world while the player is frozen on first spawn. By the time the animation and fade has completed, most of the gameworld local to the client will have been loaded and it will definitely be safe to allow the player to unfreeze and stand on solid ground. A visual can be coded into Minecraft where others on the server will see a swirly teleport animation that 'poofs' into your player character once your player character is released from 'freeze' status. Then, every spawn afterwards, don't perform the animation.

I'm just trying to think of some fun easy things mojang can do, there's no sense in re-coding all things collision-related just to fix a first-spawn bug.

Comment by Ian Carlson [ 21/Jan/13 ]

@Jay Eff, the reason why freezing the player could be difficult is due to an SMP version of the same map. If you froze a player, you'd pretty much freeze all players for that half-second unless you specifically wrote the code to handle the random entity id that players are given when they login to the server. But it's more than just that, you'd have to check to see if the player has never logged into the server before now, so that this bug can actually happen, as it doesn't happen any subsequent time after your first generation.

If you want to argue that the server admin / creator is the only one who will end up with this problem, that's not enough to make it so that you SHOULD NOT write such code to handle ALL players. Because it can always happen in the future I'm sure.

Always make more food than what you really are making for, just in case.

Comment by Jay Eff [ 21/Jan/13 ]

The first world I created in 13w03a, I got stuck when first spawning in it. However, I did notice that my player character spawned before the terrain did and was immediately affected by gravity, and therefore I sort of 'fell' into a void where a block appeared a moment later when the chunk was finally drawn. Is it possible that the guys at Mojang can resolve this problem by simply 'freezing' the player for about a half-second when first entering a world (no movement, no gravity), to give the client a moment to spawn some solid ground where the player character can stand?

Comment by Łukasz Samek [ 11/Jan/13 ]

Seems OK for me in 13w02b. Created several worlds, spawned under leaves and there was no problem.

Comment by Kevin Gut [ 11/Jan/13 ]

I could just reproduce the "spawning inside block and suffocate to death" bug. I kept loading the same seed over and over again and noticed, that this only happened to me, when leaves were above me. It might be best to do that in a jungle biome: -6033174565279304444

Comment by Łukasz Samek [ 11/Jan/13 ]

Just wanted to confirm that the problem persists in 13w02a here.

Comment by Ray Herring [ 11/Jan/13 ]

the latest snapshot is the only time i've actually noticed this happening, have yet to have it happen in any worlds i have created fresh in previous versions.

Comment by Marcel vd Bosch [ 10/Jan/13 ]

Seems I can't edit the affected version, though I'd like to add that it also happens in the 13w02a snapshot.

Comment by Łukasz Samek [ 05/Jan/13 ]

Since snapshot 13w01b every time I create a new world I spawn stuck with only way to get out being /tp.
Java version 1.7.0_09-b05, Win7 x64, Minecraft 13w01b snapshot

Comment by Christoph Lipka [ 30/Dec/12 ]

still present in 1.4.7 pre-release

Comment by Josh Fongheiser [ 20/Dec/12 ]

I thought this was resolved in one of the 1.4.6 snapshots, but then it seems to be back in the full version of 1.4.6.

Comment by Christoph Lipka [ 15/Dec/12 ]

Can confirm this, too. Created a bunch of new worlds recently, and in a guesstimated 75% of all cases I either:

  • spawned with my feet stuck in dirt, jittering up and down until I dug away the block I was stuck in (most biomes);
  • spawned inside the ground and suffocated if I didn't dig up in time (jungle biomes); or
  • spawned under water (island/ocean biomes), sometimes without any land in sight
Comment by Landon Thomas Bray [ 15/Dec/12 ]

same here! although i get it whenever i join the world... and i loose my place because it spawns me SOMEPLACE IN a snow biome... i have single player commands and optifine but that wouldnt explain this... I hate this... im gonna start to have to leave minecraft open :/!!!! please fixxx!!!!

Comment by Mathieu Vincent [ 15/Dec/12 ]

I get this too. At first i though it was my mod but im getting this without them.
I spawn in the ground, variable in deep depending on the biome im in.

Comment by Tails [ 14/Dec/12 ]

Adjusted the title a bit.

Comment by Sean Hersee [ 09/Dec/12 ]

it happend to me only when i got the latest snapshot and updated again

Comment by Frostyfrog [ 04/Dec/12 ]

@Geoffrey, Yes. I understand all of that. It used to be that when you spawn or join, Minecraft would find the closest 2-high set of airblocks above you (if you're in solid blocks) and place you there. This no longer happens, and IMO, is the cause of the issue. SSP is SMP (well, it is basically now).

And besides, a group of people could be landscaping where you are standing. And instead of standing in a plains biome, you are now suffocating inside a mountain. No malicious intent at all.

Comment by Ian Carlson [ 04/Dec/12 ]

There is already code that handles players being pushed out of blocks. It still works too. For instance, if you put gravel or sand on top of you, and the game notices there's either half-slabs or air adjacent to you, it will push you out. Same goes for if you log out and come back in stuck in blocks (But again, half-slabs and air have to be adjacent. If it's solid walls on all four sides, then you're screwed. This is intended.)

Comment by Geoffrey Hyde [ 04/Dec/12 ]

@Colton: As far as I can recall, they have been taking out spawn protection for the last couple of updates now. Regarding the SMP part to which you appear to be referring, the post appears to imply that the original poster was recreating worlds in single player. If Ian is indeed experiencing this problem in SMP or SSP worlds other players can join, it shouldn't really matter, anyway, for if Mojang fixes this bug, it will be fixed for both cases, since the client already runs a local server.

If a player is indeed placing blocks at the spawn point when another player dies and tries to respawn there, there may have to be special case handling code that moves the player outside the area where the other player is placing blocks. At the very least, it should spawn the player just above the blocks, not in them.

I doubt any player seriously wanting to actually play with friends on a Minecraft server would have malicious intent towards any other players, however, the ban system already exists to deal with this particular aspect.

Comment by Frostyfrog [ 04/Dec/12 ]

I'm pretty sure this is related to the spawn/join protection being removed (or reimplemented in a different fashion?). If someone fills an area with stone (for example) while you are offline, then when you join, you will be in the blocks and taking suffocation damage. If the old join code were added back in, I'm pretty sure it would completely resolve this issue (and make logoutivators possible again, but some people like that part!).

Comment by Geoffrey Hyde [ 28/Nov/12 ]

I suggest you do some experimentation and see if you can separate the spawning/respawning in water issue from the stuck in block issue, because I think they may really be two separate issues. If that really is the case, simply create a new issue regarding the spawning/respawning in water and see how it gets categorized, maybe it's intended behavior, maybe not.

Comment by Ian Carlson [ 28/Nov/12 ]

well, it's possible that the spawn was meant for right above the water, and that due to the bug here, the "fixed" spawn was in sand / whatever. When breaking the sand, the spawn reverted back to its "un-fixed" state. iirc, Jeb / etc. are still trying to fix all the water spawns. Some DO spawn you UNDER sea level though still, although rarer than over water spawns.

Comment by Geoffrey Hyde [ 28/Nov/12 ]

@Ian Carlson: Do you mean when you die and respawn, or in some other more specific circumstances?

If it's when you die and respawn, this may be intended, although the Minecraft Wiki does state you should respawn in a position above sea level. The fact that you're respawning in water may need the creation or alteration of another bug report to handle that because it's not actually directly related to the suffocation issue.

Your default spawn on creating a new world can land you in water, although perhaps a lot more rarely nowadays than it used to. It is, however, still possible to spawn, and therefore respawn, above water on creation of a new world, even if the generated spawn point in the map file is under or at the surface of land nearby.

Respawning only seems to pick an x/z pair of coordinates within 25 tiles of your spawn point, not place you at the first point you actually spawned at on a map.

Comment by Ian Carlson [ 28/Nov/12 ]

Seed -6805991508691440641 can/will spawn you in water after breaking the block you spawn in or on. The bug may be caused by improper spawn fixing / updating.

Comment by Marcel vd Bosch [ 24/Nov/12 ]

This happens a lot more (50% of all new worlds I start) with the 1.4 series where I didn't have them before (<1.4). My OS = OX X 10.8.2. Java: 1.6.0_37

Comment by Mathias Kalb [ 23/Nov/12 ]

Affects also 1.4.5

Game mode: survival and creative

Seed "80000000008" (worked fine with 1.4.2)

Biome: "Plains"

Players stuck in ground and bounces.

Comment by Ian Carlson [ 19/Nov/12 ]

And yet, Mojang has no plans to fix it ever yet. (1.4.5 shows such it seems.) The bug shouldn't be simply named "Suffocation when spawning--" it should be "Player 'stuck' in blocks when spawning in newly created worlds."

Comment by Aden McKinley [ 16/Nov/12 ]

It is VERY annoying in Hardcore world!

Comment by Geoffrey Hyde [ 14/Nov/12 ]

Can I request that this bug be upgraded to a major bug because of the suffocation issues? If so, I would like to request that this bug be upgraded because of that.

Comment by Ian Carlson [ 11/Nov/12 ]

This doesn't happen with plains biomes. I'm in the process uploading a video showing that it will happen on almost every world generation. SOME island types will not have this issue. Also, you can spawn underwater and in rivers. And it's NOT always suffocation.

Edit: http://www.youtube.com/watch?v=p8eLjY4hNeE&hd=1 (Video - it may be 9+ minutes, but it's for each variation of the bug. May have to wait for HD to process.)

Comment by Chalmes (Jon) [ 07/Nov/12 ]

Confirmed. I started creating a series of worlds, and after around 3 I spawned inside blocks suffocating. I jumped once and was met with the screenshot.

Basically, from top down, the blocks were:
Leaves on tree
Tall grass
Grass block
Dirt block (I spawned with my feet in this one)

Generated at Sun Jan 12 11:57:47 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.