Added Ability To Grab Chunk From world in Flocation
This commit is contained in:
parent
fb8837bd7d
commit
2afae3a93f
@ -99,6 +99,10 @@ public class FLocation implements Serializable {
|
|||||||
return regionVal << 5; // "<< 5" == "* 32"
|
return regionVal << 5; // "<< 5" == "* 32"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Chunk getChunk(){
|
||||||
|
return Bukkit.getWorld(worldName).getChunkAt(x, z);
|
||||||
|
}
|
||||||
|
|
||||||
public static HashSet<FLocation> getArea(FLocation from, FLocation to) {
|
public static HashSet<FLocation> getArea(FLocation from, FLocation to) {
|
||||||
HashSet<FLocation> ret = new HashSet<>();
|
HashSet<FLocation> ret = new HashSet<>();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user