Package | Description |
---|---|
io.github.bananapuncher714.cartographer.core.api.events.chunk |
Contains events dealing with chunk loading.
|
io.github.bananapuncher714.cartographer.core.file |
Contains
ChunkData for serialization. |
io.github.bananapuncher714.cartographer.core.map | |
io.github.bananapuncher714.cartographer.core.map.process |
Contains classes for processing chunks and converting them to data for the renderer.
|
Modifier and Type | Field and Description |
---|---|
protected ChunkData |
ChunkProcessedEvent.data |
Modifier and Type | Method and Description |
---|---|
ChunkData |
ChunkProcessedEvent.getData()
Get the
ChunkData for this event. |
Modifier and Type | Method and Description |
---|---|
void |
ChunkProcessedEvent.setData(ChunkData data)
Set the
ChunkData for this event. |
Constructor and Description |
---|
ChunkLoadedEvent(Minimap map,
ChunkLocation location,
ChunkData chunk)
|
ChunkProcessedEvent(Minimap map,
ChunkLocation location,
ChunkData chunk)
Construct a new ChunkProcessedEvent for the given
Minimap at the ChunkLocation provided. |
Modifier and Type | Method and Description |
---|---|
ChunkData[] |
BigChunk.getData()
Get the
ChunkData . |
Modifier and Type | Method and Description |
---|---|
void |
BigChunk.set(ChunkLocation location,
ChunkData data)
Set the
ChunkData for the ChunkLocation . |
Modifier and Type | Method and Description |
---|---|
ChunkData |
Minimap.onChunkLoad(ChunkLocation location,
ChunkData data) |
ChunkData |
Minimap.onChunkProcessed(ChunkLocation location,
ChunkData data) |
Modifier and Type | Method and Description |
---|---|
ChunkData |
Minimap.onChunkLoad(ChunkLocation location,
ChunkData data) |
ChunkData |
Minimap.onChunkProcessed(ChunkLocation location,
ChunkData data) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<ChunkLocation,ChunkData> |
MapDataCache.data |
protected java.util.Map<ChunkLocation,java.util.concurrent.Future<ChunkData>> |
MapDataCache.renderers |
Modifier and Type | Method and Description |
---|---|
ChunkData |
ChunkProcessor.call() |
ChunkData |
MapDataCache.getDataAt(ChunkLocation location) |
ChunkData |
ChunkNotifier.onChunkLoad(ChunkLocation location,
ChunkData data) |
ChunkData |
ChunkNotifier.onChunkProcessed(ChunkLocation location,
ChunkData data) |
ChunkData |
SimpleChunkProcessor.process(org.bukkit.ChunkSnapshot snapshot) |
ChunkData |
RandomChunkProcessor.process(org.bukkit.ChunkSnapshot snapshot) |
ChunkData |
ChunkDataProvider.process(org.bukkit.ChunkSnapshot snapshot)
May be ran asynchronously.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<ChunkLocation,ChunkData> |
MapDataCache.getData() |
Modifier and Type | Method and Description |
---|---|
void |
MapDataCache.loadData(ChunkLocation location,
ChunkData data) |
ChunkData |
ChunkNotifier.onChunkLoad(ChunkLocation location,
ChunkData data) |
ChunkData |
ChunkNotifier.onChunkProcessed(ChunkLocation location,
ChunkData data) |