I'm trying to build a mob zoo but the Enderman keeps escaping. Is there any way I can keep it in? Are there blocks they can't teleport through?
Endermen can teleport through any type of block if there is ample space on the other side.
What you could do is cover the ground outside with blocks they can not teleport on top of. As far as my understanding goes, the only blocks they can't teleport to are water lava and transparent blocks. (Source). Alternativly place cobweb on its legs which will completely disable it plus you can do the same with other mobs.Always remember to name them to stop them despawning.
Endermen can only pick up the following blocks source
- Grass Block
- Brown Mushroom
- Red Mushroom
As long as you make zoo out of something else (like cobblestone, fences, wood etc...) the Endermen should not be able to break your zoo.
Note however the Endermen have the ability to teleport - this is probably why they are escaping. To my knowledge the Endermen will teleport to any available space, regardless of what blocks are between those two points. The only way I can think of to prevent the Endermen from teleporting would be to invalidate all of the potential teleport destinations within teleport range of the zoo, for example by getting rid of any 3-high spaces (Endermen are 3 blocks high and so can only teleport into 3 block high spaces)
Also the Endermen can despawn, and so could also "escape" that way.
Just dig down deep into the ground. Have ladders on the hole going down. Endermen have a teleporting range of 32 blocks. Make every part of the tunnle 2 blocks high, for the enderman can't teleport to any place that is less then 3 blocks high (as in tunnel size). Make sure the cage is 3 blocks for the enderman to wander around. And don't let any other cage exceed the 2 block high opening.
I think that you can use Nether Brick. They are black blocks that are crafted from Netherrack, which is only found in the Nether. One of my friends tried to trap an Enderman using this material and checked on him a few timesIt appeared that he couldn't teleport out or despawn.
Another you may want to try is End Stone. Minecraft Wiki says that:
It also cannot be picked up by Endermen and cannot be destroyed by the Enderdragon, and unlike Obsidian, it is easy to mine.