mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 23:52:11 -07:00
@@ -63,6 +63,15 @@ public class Location implements Cloneable {
|
||||
return world;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the chunk at the represented location
|
||||
*
|
||||
* @return Chunk at the represented location
|
||||
*/
|
||||
public Chunk getChunk() {
|
||||
return world.getChunkAt(this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the block at the represented location
|
||||
*
|
||||
|
Reference in New Issue
Block a user