/spreadplayers occasionally suffocates players
The spreadplayers command behaves much better than it used to, but it still sometimes suffocates players. Specifically, if you run
/spreadplayers ~10000 ~10000 50000 50001 true @s
about 100 times, about 5 of those times you'll find yourself suffocating in a block.
Every time I was suffocating, the behavior was consistent: the block above my head was a leaf block. I speculate that when spreadplayers sees that the topmost block at the x,z it wants to put you at is a 'leaf' block, it moves you down so that the players head is one block below the bottom-most contiguous leaf. However, leaves can be above wood or the ground, and so sometimes this means the player spawn in solid wood or dirt, suffocating.
(This is a relatively minor bug; the behavior now seems much improved compared to MC-52254 )
Linked Issues
is duplicated by3
Created Issue:
spreadplayers occasionally suffocates players
The spreadplayers command behaves much better than it used to, but it still sometimes suffocates players. Specifically, if you run
/spreadplayers 0 0 1 100000 true @pabout 100 times, about 5 of those times you'll find yourself suffocating in a block.
Every time I was suffocating, the behavior was consistent: the block above my head was a leaf block. I speculate that when spreadplayers sees that the topmost block at the x,z it wants to put you at is a 'leaf' block, it moves you down so that the players head is one block below the bottom-most contiguous leaf. However, leaves can be above wood or the ground, and so sometimes this means the player spawn in solid wood or dirt, suffocating.
(This is a relatively minor bug; the behavior now seems much improved compared to
MC-52254)
relates to
/spreadplayers occasionally suffocates players
The spreadplayers command behaves much better than it used to, but it still sometimes suffocates players.
Specifically, if you run/spreadplayers 0 0 1 100000 true @pabout 100 times, about 5 of those times you'll find yourself suffocating in a block.
Every time I was suffocating, the behavior was consistent: the block above my head was a leaf block. I speculate that when spreadplayers sees that the topmost block at the x,z it wants to put you at is a 'leaf' block, it moves you down so that the players head is one block below the bottom-most contiguous leaf. However, leaves can be above wood or the ground, and so sometimes this means the player spawn in solid wood or dirt, suffocating.
(This is a relatively minor bug; the behavior now seems much improved compared to
MC-52254)The spreadplayers command behaves much better than it used to, but it still sometimes suffocates players. Specifically, if you run
/spreadplayers ~10000 ~10000 50000 50001 true @sabout 100 times, about 5 of those times you'll find yourself suffocating in a block.
Every time I was suffocating, the behavior was consistent: the block above my head was a leaf block. I speculate that when spreadplayers sees that the topmost block at the x,z it wants to put you at is a 'leaf' block, it moves you down so that the players head is one block below the bottom-most contiguous leaf. However, leaves can be above wood or the ground, and so sometimes this means the player spawn in solid wood or dirt, suffocating.
(This is a relatively minor bug; the behavior now seems much improved compared to
MC-52254)
is duplicated by

Why create another issue, it's the same problem, isn't it?
When you say above your head, is your head in the leaves, or below the leaves?
Can't reproduce in 16w42a: you are always spread on top of the leaves
Can confirm in 16w42a. See screenshot
Can this still be reproduced in 1.13.2 and higher?
I have been trying for some time and couldn't reproduce; as SunCat said, you always teleport on top of the leaves.
Note: I'd seek a second opinion before marking this as fixed.
I was also unable to reproduce this in 1.16.
The ticket has now been marked as fixed. Please comment if you're still affected by it.