blob: 4710d40fdda5852dff30e8ea5872603989a2073e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package org.bukkit.event.world;
import org.bukkit.Chunk;
/**
* Represents a Chunk related event
*/
public abstract class ChunkEvent extends WorldEvent {
protected Chunk chunk;
protected ChunkEvent(final Chunk chunk) {
super(chunk.getWorld());
this.chunk = chunk;
}
/**
* Gets the chunk being loaded/unloaded
*
* @return Chunk that triggered this event
*/
public Chunk getChunk() {
return chunk;
}
}
|