Skip to content

Commit

Permalink
1.21-1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticdrew committed Jun 21, 2024
1 parent 73c3129 commit 08206a5
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ object Webmap {

else -> {
val dir = File(FileHandler.getMinecraftDirectory(), Constants.WEB_DIR)
if (dir.exists()) {
// delete the directory to flush cached data
dir.delete()
}
if (!dir.exists()) {
logger.info("Attempting to copy web content to {}", File(Constants.JOURNEYMAP_DIR, "web"))
val created =
Expand Down
11 changes: 10 additions & 1 deletion Forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@ Client WebMap for Journeymap. Built: ${date}.
modId="forge"
mandatory=true
versionRange="[50.0.0,)"
side="CLIENT"

[[dependencies.journeymap_webmap]]
modId = "minecraft"
mandatory=true
versionRange = "[1.21,)"
side="CLIENT"

[[dependencies.journeymap_webmap]]
modId="journeymap"
mandatory=true
versionRange="[6.0.0,)"
versionRange="*"
side="CLIENT"

12 changes: 10 additions & 2 deletions NeoForge/src/main/resources/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,16 @@ Client WebMap for Journeymap. Built: ${date}.
modId = "neoforge"
type = "required"
versionRange = "[21.0.0-beta,)"
side="BOTH"

[[dependencies.journeymap_webmap]]
modId = "minecraft"
type = "required"
versionRange = "[1.21,)"
side="BOTH"

[[dependencies.journeymap_webmap]]
modId="journeymap"
mandatory=true
versionRange="[1.21-6.0.0-beta.1,)"
type = "required"
versionRange="*"
side="BOTH"
4 changes: 3 additions & 1 deletion doc/changelog.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ <h1>JourneyMap WebMap ${version} for Minecraft ${mcversion}</h1>

<p>New in ${version}</p>
<ul>
<li>Add: Labels to polygons</li>
<li>Added: Labels to polygons.</li>
<li>Fixed: Waypoint positioning.</li>
<li>Fixed: [Forge] version missmatch.</li>
</ul>
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
mod_version=1.0.0
mod_version=1.0.1
mappings=1.20.6
minecraft_version=1.21
journeymap_webmap_version=1.1-SNAPSHOT
Expand Down

0 comments on commit 08206a5

Please sign in to comment.