Get day/night workding with HDMap
This commit is contained in:
parent
1f2722b249
commit
225b348154
6 changed files with 77 additions and 17 deletions
|
|
@ -136,9 +136,15 @@ public class LegacyMapChunkCache implements MapChunkCache {
|
|||
public final void setY(int y) {
|
||||
this.y = y;
|
||||
}
|
||||
public final int getX() {
|
||||
return x;
|
||||
}
|
||||
public final int getY() {
|
||||
return y;
|
||||
}
|
||||
public final int getZ() {
|
||||
return z;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -81,8 +81,16 @@ public interface MapIterator {
|
|||
* @param y
|
||||
*/
|
||||
void setY(int y);
|
||||
/**
|
||||
* Get X coordinate
|
||||
*/
|
||||
int getX();
|
||||
/**
|
||||
* Get Y coordinate
|
||||
*/
|
||||
int getY();
|
||||
/**
|
||||
* Get Z coordinate
|
||||
*/
|
||||
int getZ();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,9 +136,15 @@ public class NewMapChunkCache implements MapChunkCache {
|
|||
public final void setY(int y) {
|
||||
this.y = y;
|
||||
}
|
||||
public final int getX() {
|
||||
return x;
|
||||
}
|
||||
public final int getY() {
|
||||
return y;
|
||||
}
|
||||
public final int getZ() {
|
||||
return z;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue