Skip to content

Commit 32df943

Browse files
committed
correct modrinth project id
1 parent c73794d commit 32df943

File tree

7 files changed

+31
-12
lines changed

7 files changed

+31
-12
lines changed

1.20/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,16 @@ tasks.modrinth {
115115

116116
modrinth {
117117
token = System.getenv("MODRINTH_TOKEN")
118-
projectId = "p2rxzX0q"
118+
projectId = "s0qWsRJC"
119119
versionNumber = "${project.version}"
120120
versionType = "release"
121121
uploadFile = tasks.remapJar.get()
122-
gameVersions.set(listOf("${minecraftVersion}"))
122+
gameVersions.set(listOf(minecraftVersion))
123123
loaders.set(listOf("quilt", "fabric"))
124124
additionalFiles.set(listOf(tasks.remapSourcesJar))
125125
dependencies {
126126
required.project("fabric-api")
127+
optional.project("axolotlclient")
127128
}
128129

129130
// Changelog fetching: Credit LambdAurora.

1.21.7/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ tasks.modrinth {
127127

128128
modrinth {
129129
token = System.getenv("MODRINTH_TOKEN")
130-
projectId = "p2rxzX0q"
130+
projectId = "s0qWsRJC"
131131
versionNumber = "${project.version}"
132132
versionType = "release"
133133
uploadFile = tasks.remapJar.get()
@@ -136,6 +136,7 @@ modrinth {
136136
additionalFiles.set(listOf(tasks.remapSourcesJar))
137137
dependencies {
138138
required.project("fabric-api")
139+
optional.project("axolotlclient")
139140
}
140141

141142
// Changelog fetching: Credit LambdAurora.

1.21/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ tasks.modrinth {
115115

116116
modrinth {
117117
token = System.getenv("MODRINTH_TOKEN")
118-
projectId = "p2rxzX0q"
118+
projectId = "s0qWsRJC"
119119
versionNumber = "${project.version}"
120120
versionType = "release"
121121
uploadFile = tasks.remapJar.get()
@@ -124,6 +124,7 @@ modrinth {
124124
additionalFiles.set(listOf(tasks.remapSourcesJar))
125125
dependencies {
126126
required.project("fabric-api")
127+
optional.project("axolotlclient")
127128
}
128129

129130
// Changelog fetching: Credit LambdAurora.

1.8.9/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,16 +140,17 @@ tasks.modrinth {
140140

141141
modrinth {
142142
token = System.getenv("MODRINTH_TOKEN")
143-
projectId = "p2rxzX0q"
143+
projectId = "s0qWsRJC"
144144
versionNumber = "${project.version}"
145145
versionType = "release"
146146
uploadFile = tasks.remapJar.get()
147147
gameVersions.set(listOf(minecraftVersion))
148-
loaders.set(listOf("fabric", "quilt"))
148+
loaders.set(listOf("ornithe"))
149149
additionalFiles.set(listOf(tasks.remapSourcesJar))
150150
dependencies {
151151
required.project("osl")
152152
required.project("moehreag-legacy-lwjgl3")
153+
optional.project("axolotlclient")
153154
}
154155

155156
// Changelog fetching: Credit LambdAurora.

1.8.9/src/main/java/io/github/axolotlclient/waypoints/map/WorldMapScreen.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ private int getY(int x, int z) {
163163
return y;
164164
}
165165

166-
private int getWorldX(int guiX) {
166+
private int getWorldX(double guiX) {
167167
return MathHelper.floor(minecraft.player.z - ((width / 2f + dragOffset.x()) - guiX) / scale);
168168
}
169169

170-
private int getWorldZ(int guiZ) {
170+
private int getWorldZ(double guiZ) {
171171
return MathHelper.floor(minecraft.player.z - ((height / 2f + dragOffset.y()) - guiZ) / scale);
172172
}
173173

@@ -350,8 +350,8 @@ public boolean mouseClicked(double mouseX, double mouseY, int button) {
350350
if (hoveredWaypoint != null) {
351351
minecraft.openScreen(new ContextMenuScreen(this, mouseX, mouseY, new ContextMenuScreen.Type.Waypoint(hoveredWaypoint)));
352352
} else {
353-
int worldX = getWorldX((int) mouseX);
354-
int worldZ = getWorldZ((int) mouseY);
353+
int worldX = getWorldX(mouseX);
354+
int worldZ = getWorldZ(mouseY);
355355
minecraft.openScreen(new ContextMenuScreen(this, mouseX, mouseY, new ContextMenuScreen.Type.Map(dimension, worldX, getY(worldX, worldZ), worldZ)));
356356
}
357357
return true;
@@ -423,6 +423,7 @@ public boolean isMouseOver(double mouseX, double mouseY) {
423423
}
424424

425425
boolean called = false;
426+
426427
@Override
427428
public boolean mouseScrolled(double mouseX, double mouseY, double amountX, double amountY) {
428429
if (called) return false;

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Changelog
2+
3+
### 0.0.1-beta.6
4+
5+
- fix a crash on versions <1.21.7 when opening the config screen
6+
7+
### 0.0.1-beta.5
8+
9+
- added server interactions
10+
- ability to disable minimap, cave visibility on either minimap or world map, cave visibility override for nether dimensions
11+
- Either using the mod on the server side and its own config file, also editable using commands (1.20+)
12+
- Or using the configuration messages used by xaero's minimap/world map
13+
- bugfixes
14+
- cardinal indicators for the minimap

common/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ publishing {
8787
}
8888
}
8989

90-
tasks.modrinth {
91-
enabled = false
90+
afterEvaluate {
91+
tasks.modrinth.configure {enabled = false}
9292
}

0 commit comments

Comments
 (0)