mojira.dev
MC-46765

Leaves, Block of Redstone, TNT and Glowstone cause suffocation damage

While I was riding through a forest I was taking suffocation damage every time my head was going through leaves. This does not happen on any other transparent blocks.

Linked issues

MC-46856 Horses going through leaves damage the player whilst riding it Resolved MC-46960 taking damage from leaves when on horse Resolved MC-47215 TNT makes you suffocate Resolved MC-47387 Leaves cause suffocation damage Resolved MC-47633 Suffocation in leaf blocks Resolved

Attachments

Comments 42

It's a combination issue:
1. That you can ride through the leaf blocks (MC-477)
2. That the leaf blocks cause suffocation

Leaf blocks certainly shouldn't cause suffocation. That's independent of whether or not riding an animal/minecart allows you to pass through them. This should be marked related to MC-477, rather than a duplicate.

On that note, do leaf blocks cause suffocation when riding through them in a minecart, or is it only when riding a horse or pig?

Yes, the same thing happens in minecarts.

That's a bug fix to prevent xray machines.

How so? Suffocation doesn't prevent an xray machine from working, and according to the report, it's only leaf blocks that are causing suffocation, so the usual blocks used for an xray machine are going to continue to work... Are you sure you've got the right issue?

32 more comments

Ice, Jack-O'-Lanterns, and slime blocks also cause suffocation. Is that intended or not?

Anonymous User

If you stuck your head in a solid pumpkin and jackolanterns or ice, would it hirt?

Dinnerbone,

Thanks! I just loaded one of my SSP worlds in 14w20b and verified this fix is working. Much appreciated! (screenshot attached confirming this fix)

@ Butt Man:

Yes. I tested it by spawning creepers inside those blocks, but the results would be the same for players and all other mobs.

Pumpkins are opaque blocks, by the way. Opaque blocks always cause suffocation damage.
The blocks listed in the title and in my comment are transparent cube solids (the blocks are technically transparent; only leaves have transparent pixels). They used to not cause suffocation, like all other transparent blocks, but in the snapshots all except leaves do.

I just tested 14w20b, and glass blocks do not cause suffocation.

Bob Saggot

Nathan Adams

Unconfirmed

block, glowstone, leaf, leaves, redstone, tnt

Minecraft 14w05b, Minecraft 14w18b, Minecraft 14w19a

Minecraft 14w20a

Retrieved