Package | Description |
---|---|
io.github.bananapuncher714.cartographer.core.api |
Contains general utility classes, interfaces, and enums for Cartographer2.
|
io.github.bananapuncher714.cartographer.core.api.events.minimap |
Contains events dealing with
Minimap . |
io.github.bananapuncher714.cartographer.core.map | |
io.github.bananapuncher714.cartographer.core.map.palette |
Contains the
MinimapPalette info for Minimap to render the blocks. |
io.github.bananapuncher714.cartographer.core.map.process |
Contains classes for processing chunks and converting them to data for the renderer.
|
Modifier and Type | Method and Description |
---|---|
MinimapPalette |
PacketHandler.getVanillaPalette()
Get the vanilla MinimapPalette, per version.
|
Modifier and Type | Method and Description |
---|---|
MinimapPalette |
MapUpdateBlockEvent.getPalette()
Get the
MinimapPalette to be used. |
Modifier and Type | Method and Description |
---|---|
void |
MapUpdateBlockEvent.setPalette(MinimapPalette palette)
Set the
MinimapPalette to be used. |
Constructor and Description |
---|
MapUpdateBlockEvent(Minimap map,
org.bukkit.Location location,
MinimapPalette palette)
Construct a MapUpdateBlockEvent with the given
Minimap and MinimapPalette . |
Modifier and Type | Field and Description |
---|---|
protected MinimapPalette |
Minimap.palette |
protected MinimapPalette |
MapSettings.palette |
Modifier and Type | Method and Description |
---|---|
MinimapPalette |
Minimap.getPalette() |
MinimapPalette |
MapSettings.getPalette() |
Modifier and Type | Method and Description |
---|---|
void |
Minimap.setPalette(MinimapPalette palette)
Set the
MinimapPalette for this minimap. |
void |
MapSettings.setPalette(MinimapPalette palette) |
Constructor and Description |
---|
Minimap(java.lang.String id,
MinimapPalette palette,
MapDataCache cache,
java.io.File saveDir,
MapSettings settings) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,MinimapPalette> |
PaletteManager.palettes |
Modifier and Type | Method and Description |
---|---|
MinimapPalette |
PaletteManager.construct(java.util.List<java.lang.String> palettes)
Construct a new
MinimapPalette from a list of palette ids. |
MinimapPalette |
PaletteManager.load(org.bukkit.configuration.file.FileConfiguration config)
Create a
MinimapPalette from the config provided. |
Modifier and Type | Method and Description |
---|---|
void |
PaletteManager.register(java.lang.String name,
MinimapPalette palette)
Register a new
MinimapPalette . |
void |
PaletteManager.save(MinimapPalette palette,
org.bukkit.configuration.file.FileConfiguration config,
PaletteManager.ColorType format)
Save the given
MinimapPalette to file with the PaletteManager.ColorType indicated. |
Modifier and Type | Field and Description |
---|---|
protected MinimapPalette |
SimpleChunkProcessor.palette |
Modifier and Type | Method and Description |
---|---|
int |
SimpleChunkProcessor.process(org.bukkit.Location location,
MinimapPalette palette) |
int |
RandomChunkProcessor.process(org.bukkit.Location location,
MinimapPalette palette) |
int |
ChunkDataProvider.process(org.bukkit.Location location,
MinimapPalette palette)
Get the color at a particular location, should be called from the main thread.
|
void |
MapDataCache.updateLocation(org.bukkit.Location location,
MinimapPalette palette) |
Constructor and Description |
---|
SimpleChunkProcessor(MapDataCache cache,
MinimapPalette palette)
Construct a SimpleChunkProcessor with a cache and palette.
|