for (int zb = zCenter - r; zb <= zCenter + r; zb++) {
for (int xb = xCenter - r; xb <= xCenter + r; xb++) {
Block c = level.getBlock(xb, zb);
for (int j = 0; j < c.entities.size(); j++) {
Entity e = c.entities.get(j);
for (int i = 0; i < e.sprites.size(); i++) {
Sprite sprite = e.sprites.get(i);
renderSprite(e.x + sprite.x, 0 - sprite.y, e.z + sprite.z, sprite.tex, sprite.col);
}
}