When I try todo PHP: $chunk->getEntities(); it just returns an empty array even tho there's entities in the chunk. Am using a villager to check this, I even tried spawning zombie's but it still returned an empty array.
All the entities are in a spawn chunk so it doesn't matter because when I join and retry to get the entities it still doesn't work.