mojira.dev
MC-159043

Pumpkins and melons can grow into a block with an entity on it, causing it to suffocate

Pumpkins will grow into a block where a dog is standing, and the dog will immediately begin to suffocate. It seems like either the pumpkin should not grow in that block because there is a mob standing on it, or the dog's AI should cause it to move once it starts taking suffocation damage.

Linked issues

Attachments

Comments 14

Having crop growth check for entities would definitely be a feature request, but the dog not trying to move once it starts suffocating sounds like it may be a bug.

This is a feature request, not a bug.

Please check if you can still reproduce this in 1.16-pre2 or later.

Still happens. I constructed a small pumpkin farm. The new pumpkin does not avoid the dog, nor does the dog attempt to move when the pumpkin is placed in its block. The dog dies of suffocation. The dog was standing at the time, not sitting.

[media]

I can confirm for 1.16.3

4 more comments

Can confirm that this is still an issue in 21w06a.

Can confirm in 1.16.5 and 21w08b. Video attached.

Confirmed in 1.20.1, I've had two cats die in my pumpkin farm. In case it matters, the farm is set up in a grid pattern, like:

OXOX

XOXO

OXOX

 

Having pumpkins/melons not grow on top of mobs seems like a straightforward fix. In the meantime, I guess I need to tell my pets to stay before going to harvest pumpkins 😞

Based off the resolutions of MC-137872, MC-88639, and MC-74490 the consensus on these kinds issues relating to crops growing onto/into entities is invalid.

Paul Palmer

(Unassigned)

Confirmed

Entities, Hitboxes, Mob behaviour

1.14.4, 1.15.2, 1.16 Pre-release 2, 1.16.3, 20w49a, ..., 21w05a, 21w06a, 21w08b, 1.20.1, 1.21.4

Retrieved