Minecraft – What would attract an Enderman into a pit

minecraft-java-edition

I'm working on an Enderman farm that really hasn't been done before and I'm fairly excited about it, but I've run into a hitch. I've experimented around until I found a way to get Endermen to reliably teleport to a floating pad, which can be seen here:

I'm now wanting these guys to go down into the hole you can see in the middle of the pad. Unfortunately they seem to be avoiding it as much as possible. What would be a good way to trick them into thinking the hole is a solid block so that they might be tempted to walk into it? I thought that perhaps trap doors or ladders could be used to some extend due to their hitboxes being unique, but I'm not entirely sure. Any ideas on this?

Edit: After experimenting with torches a bit, it seems like they slowly edge away from light sources, meaning if I place light around key areas on the edge they should be driven straight to the center. It seems to be helping so far, at least in some limited testing.

Edit 2: I have been looking at the decompiled version of the game code and I haven't found a great deal. From a quick glance it seems that Endermen simply behave as any other mob when they are not in the random teleportation state. And that means they should have a random path applied at random times, which means the light levels shouldn't matter. This doesn't match up with what I've observed though, so maybe I missed something in my quick pass thorough the code.

Best Answer

The usual way to do this (for any mob) is put open trap doors in the pit. Mobs avoid falls now, but will treat trap doors as walkable blocks regardless of whether they're open or closed, wander over them, and fall.