Well, technically it isn't ethereal glass, but it does basically the same thing...
The gaps are wide enough for you to walk through. This means its also wide enough for mobs, but, as if by magic, they'll be repelled.
The way this works is that, even though mobs can fit through the gaps, their AI doesn't know how. They treat the stone wall/fence barrier as a solid wall, so they won't follow you.
Like all ingenious-but-cheap solutions though, this isn't foolproof. If enough mobs stack up against the barrier they can eventually push each other through the gaps, but unless you've got villagers that are attracting zombies this is extremely unlikely to happen. To be on the ultra-safe side, keep your villagers in a separate building to your main base.
I don't think this is very well known, so please let me know if you learnt something new
The gaps are wide enough for you to walk through. This means its also wide enough for mobs, but, as if by magic, they'll be repelled.
The way this works is that, even though mobs can fit through the gaps, their AI doesn't know how. They treat the stone wall/fence barrier as a solid wall, so they won't follow you.
Like all ingenious-but-cheap solutions though, this isn't foolproof. If enough mobs stack up against the barrier they can eventually push each other through the gaps, but unless you've got villagers that are attracting zombies this is extremely unlikely to happen. To be on the ultra-safe side, keep your villagers in a separate building to your main base.
I don't think this is very well known, so please let me know if you learnt something new