Optimize the getRequiredChunks() to load only chunks that are needed -
reduces chunks needed by 42% versus current implementation.
This commit is contained in:
parent
271990b87c
commit
04056572f8
2 changed files with 50 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue