[MC-5397] Mob AI allows mobs to fall into the void Created: 27/Dec/12  Updated: 07/Sep/15  Resolved: 24/Feb/14

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.5, Minecraft 1.4.6, Minecraft 1.4.7, Snapshot 13w07a, Snapshot 13w09a, Snapshot 13w09b, Minecraft 1.5, Snapshot 13w11a, Minecraft 1.7.4, Minecraft 14w08a
Fix Version/s: None

Type: Bug
Reporter: Jason Assignee: Unassigned
Resolution: Duplicate Votes: 5
Labels: mob, void, world

Issue Links:
Duplicate
duplicates MC-3151 New Mob AI doesn't take world limit/V... Closed
CHK:
Confirmation Status: Confirmed

 Description   

What I expected to happen was...:
The Mobs would not allow themselves to fall into the void.

What Actually Happened was:
The mobs Fell into the void. (watch the whole video)
http://www.youtube.com/watch?v=77U7k1tRjkE&feature=youtu.be

Steps to Reproduce:
1. Dig down near the void, make sure the void is accessable.
2. Spawn a mob on a block
3. Wait for it to move, or make it move (without pushing) into the void.

It happens because the Mob AI looks for air blocks, But there are no air blocks in the void.

DUPLICATE OF CLOSED ISSUE MC-3151, The issue was labeled as "invalid" I now have proof that it is not invalid.



 Comments   
Comment by Kumasasa [ 24/Feb/14 ]

Resolved back to MC-3151, since that ticket was reopened.
Fix by Markku attached there.

Comment by Itouch2 [ 24/Feb/14 ]

Still an issue in 1.7.4 and 1.8 snapshots

Comment by [Mod] Ezekiel (ezfe) [ 24/Feb/14 ]

Is this still a concern in the latest Minecraft version 14w08a? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Comment by Markku [ 28/Feb/13 ]

Affects 13w09b.

Comment by Markku [ 20/Feb/13 ]

Possible fix
Using MCP naming.

PathFinder.getSafePoint()
        ...
        if (var9++ >= entity.func_82143_as()) {
            return null;
        }

        --y;

        if (y > 0) {
            var7 = this.openPoint(x, y, z); // Accept a point in mid air, eh?
        } else {         // FIX: lets cancel that possible mid air point if reached void.
            return null; // FIX
        }                // FIX
    ...

Tested on 1.4.7 and at least creepers learned to look down.

Comment by Jason [ 04/Jan/13 ]

Bump, no response.

Comment by Jason [ 28/Dec/12 ]

This is very annoying, I'm trying to make a survival island map, and mobs keep falling into the void!

I guess I hust have to use a map editor to adjust the y-coords of my island...

Generated at Sun Jan 12 12:07:46 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.