Add support for selectively hiding portions of world (hiddenlimits)

This commit is contained in:
Mike Primm 2011-08-10 22:15:18 -05:00
parent 7e8e0411d9
commit 166a5272fb
6 changed files with 73 additions and 0 deletions

View file

@ -92,6 +92,12 @@ public interface MapChunkCache {
* Coordinates are block coordinates
*/
public void setVisibleRange(VisibilityLimit limit);
/**
* Add hidden area limit - can be called more than once
* Needs to be set before chunks are loaded
* Coordinates are block coordinates
*/
public void setHiddenRange(VisibilityLimit limit);
/**
* Set autogenerate - must be done after at least one visible range has been set
*/