Skip to content

Commit 196b637

Browse files
committed
Xaero's Mods update (final bump?)
*and some workarounds for there (since code got separated from xwm/xmm and xaerolib located in META-INF)
1 parent ccd23e0 commit 196b637

4 files changed

Lines changed: 6 additions & 4 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ dependencies {
8080
// Xaero's Mods
8181
modCompileOnly(libs.xwm) // Xaero's World Map
8282
modCompileOnly(libs.xmm) // Xaero's Minimap
83+
modCompileOnly(files("libs\\xaerolib-fabric-1.21.11-1.0.38.jar"))
8384

8485
// Chest Tracker
8586
modImplementation(libs.whereisit)

gradle/libs.versions.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mod-version = "1.21.11_1.0.9.5"
44
# Fabric (https://fabricmc.net/develop)
55
minecraft = "1.21.11"
66
yarn-mappings = "1.21.11+build.3"
7-
fabric-loader = "0.18.3"
7+
fabric-loader = "0.18.4"
88
fabric-api = "0.140.2+1.21.11"
99

1010
# Plugins
@@ -20,9 +20,9 @@ orbit = "0.2.4"
2020

2121
# Xaero's Mods
2222
# Xaero's World Map (https://modrinth.com/mod/xaeros-world-map/versions)
23-
xwm = "1.39.17_Fabric_1.21.9"
23+
xwm = "1.40.1_Fabric_1.21.11"
2424
# Xaero's Minimap (https://modrinth.com/mod/xaeros-minimap/versions)
25-
xmm = "25.2.15_Fabric_1.21.9"
25+
xmm = "25.3.1_Fabric_1.21.11"
2626

2727
# Where Is It (https://modrinth.com/mod/where-is-it-port/versions)
2828
whereisit = "2.6.8+1.21.11"
555 KB
Binary file not shown.

src/main/java/nekiplay/meteorplus/mixin/xaero/worldmap/WaypointRendererMixin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import org.spongepowered.asm.mixin.injection.At;
1717
import org.spongepowered.asm.mixin.injection.Inject;
1818
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
19+
import xaero.map.common.config.option.WorldMapProfiledConfigOptions;
1920
import xaero.map.WorldMap;
2021
import xaero.map.gui.GuiMap;
2122
import xaero.map.gui.IRightClickableElement;
@@ -42,7 +43,7 @@ public void onAction(Screen screen) {
4243
SupportMods.xaeroMinimap.openWaypoint((GuiMap) screen, element);
4344
}
4445
});
45-
if (WorldMap.settings.coordinates && !SupportMods.xaeroMinimap.hidingWaypointCoordinates()) {
46+
if ((Boolean)WorldMap.INSTANCE.getConfigs().getClientConfigManager().getEffective(WorldMapProfiledConfigOptions.COORDINATES) && !SupportMods.xaeroMinimap.hidingWaypointCoordinates()) {
4647
rightClickOptions.add(new RightClickOption(String.format("X: %d, Y: %s, Z: %d", element.getX(), element.isyIncluded() ? "" + element.getY() : "~", element.getZ()), rightClickOptions.size(), target) {
4748
public void onAction(Screen screen) {
4849
SupportMods.xaeroMinimap.openWaypoint((GuiMap) screen, element);

0 commit comments

Comments
 (0)