Links
Tags
Creators
Details
1.1.2-26.1.x
Compatibility
Changes
EarthMC Map Addon 1.1.2
What's new
- Custom map overlays. Drop JSON files into
config/townymapaddon/overlays/, enable Custom Overlays in settings, and your routes draw as coloured lines with labelled point markers on Xaero's WorldMap. Off by default; nothing bundled. Works with EarthMC Ice Highways Map files out of the box, plus generic and GeoJSON formats. Open Overlays Folder / Reload Overlays buttons added to settings. - Capital labelling. Clicking a town that is its nation's capital now reads "(Capital of <Nation>)" instead of just "(<Nation>)", in both the right-click popup and the search panel.
Builds
- 1.21.11 (Fabric) and 26.1.x (Fabric) — pick the jar matching your Minecraft version.
Custom overlay JSON format
Files are read from config/townymapaddon/overlays/ (any number of *.json). Coordinates are Minecraft world blocks [x, z]; colour is an rrggbb hex string. Three shapes are accepted:
1. Simple — lines + markers:
{
"lines": [
{ "color": "55d6ff", "points": [[100, -200], [340, -210], [500, 80]] }
],
"markers": [
{ "name": "Spawn", "x": 0, "z": 0 }
]
}
2. GeoJSON — FeatureCollection of LineString / MultiLineString / Point:
{ "type": "FeatureCollection", "features": [
{ "type": "Feature", "properties": { "color": "ff5555", "name": "Route A" },
"geometry": { "type": "LineString", "coordinates": [[100, -200], [340, -210]] } },
{ "type": "Feature", "properties": { "name": "Hub" },
"geometry": { "type": "Point", "coordinates": [0, 0] } }
] }
3. Ice Highways Map — the project's own files work directly:
{
"stations": [ { "name": "Station", "x": 0, "z": 0 } ],
"lines": { "Company": { "Line": {
"color": "a020f0",
"branches": { "Main": { "vertices": [[28025, 4682], [27329, 4682]] } }
} } }
}
Flexible details: colour key may be color / colour / stroke; marker names may be name / label / title; points may be [x, z] arrays or { "x":…, "z":… } objects; line point lists may be points / vertices / coordinates.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:eKzMd1Vy:bAXufkmh"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:eKzMd1Vy:bAXufkmh"
}

