Tschipp / CarryOn

Carry On mod for Minecraft
GNU Lesser General Public License v3.0
77 stars 48 forks source link

Mobs can be placed inside walls #624

Closed Jellonator closed 2 months ago

Jellonator commented 4 months ago

Actual Behavior

Mobs can be placed inside certain solid blocks. For shorter mobs (chickens, pigs, cats, etc), this results in death by suffocation.

This can be done with any solid block shorter than a full block. This includes dirt paths and farmland blocks. I do not know of any other vanilla blocks this can occur with.

This does not occur with soulsand, as they occupy a full block despite their hitbox being shorter.

Expected Behavior

Mobs probably should not be able to be placed within these blocks. Or keep it, it's kinda funny. Though I did discover this bug by accidentally killing a cat

Steps to Reproduce

Version of Minecraft, Carry On, Forge/Fabric

I have recorded a video of me suffocating a pig with a path block. This video was recorded on Minecraft 1.20.1, Forge 47.2.0, Carry On 2.1.2.7, along with some other mods I was playing with at the time. https://www.youtube.com/watch?v=kKbeRYZ2zPI

After the fact, I tested with Minecraft 1.20.4, Forge 49.0.50, Carry On 2.1.3 without any other mods installed. The issue still occurs in this scenario as well.