mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 15:42:19 -07:00
@@ -63,6 +63,15 @@ public class Location implements Cloneable {
|
|||||||
return world;
|
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
|
* Gets the block at the represented location
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user