Optimize the getRequiredChunks() to load only chunks that are needed -

reduces chunks needed by 42% versus current implementation.
This commit is contained in:
Mike Primm 2011-05-15 23:50:50 -05:00
parent 271990b87c
commit 04056572f8
2 changed files with 50 additions and 1 deletions

View file

@ -25,7 +25,6 @@ public class HighlightTileRenderer extends DefaultTileRenderer {
@Override
protected void scan(World world, int x, int y, int z, int seq, boolean isnether, final Color result) {
result.setTransparent();
int top_nether_id = 0;
for (;;) {
if (y < 0) {
break;