What I'm trying to do, is spawn entities around a player, however I'm not sure how to get a viable location for spawning these entities.
Example:
Player A is walking around, and wherever he walks, mobs spawn around him (obviously at random intervals and not exactly on the players position)
How could I get 1x1x2 open areas of space which could support spawning of the entities (not causing them to suffocate or fall)?
Example:
Player A is walking around, and wherever he walks, mobs spawn around him (obviously at random intervals and not exactly on the players position)
How could I get 1x1x2 open areas of space which could support spawning of the entities (not causing them to suffocate or fall)?