Skip to content

Commit cd51318

Browse files
committed
Release 2.3.1
- Remove easierchests integration (no longer needed, works fine with gcsh) - Temporarily disable GuiMapNameMixin, crashes game - Tidy things up for release
1 parent 70aa1e0 commit cd51318

File tree

8 files changed

+19
-100
lines changed

8 files changed

+19
-100
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ There are no dependencies, but [Mod Menu](https://modrinth.com/mod/modmenu), [No
2323
* Vault buttons
2424
* Integration with VoxelMap and Xaero's World Map/Minimap
2525
* Clicking on a residence will teleport you to that residence
26-
* Automatic[^1] world detection and map confirmation/creation
26+
* Automatic world detection and map confirmation/creation (Voxel only)
2727
* And more to come :)
2828

2929
## Maven/Development
@@ -43,5 +43,3 @@ dependencies {
4343
## Disclaimer
4444

4545
This mod is not sponsored by nor affiliated with Empire Minecraft, Starlis LLC, or Mojang Studios. It has been approved for use on Empire Minecraft in accordance with its [approved mod](https://mods.emc.gs) policies.
46-
47-
[^1]: Fully automatic with VoxelMap. Xaero's users must still manually create the world, but the name will automatically be filled in.

build.gradle

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,23 @@ plugins {
99
}
1010

1111
String mod_version = loom.modVersion
12-
String release_title = null
13-
String changeLog = null
12+
String release_title = "Fix many bugs and introduce a couple more"
13+
String changeLog = "There are still many known bugs! Be patient, I am working on fixing them, but wanted to get this hotfix out.\n" +
14+
"- Hotbar placement is strange\n" +
15+
"- Map name detection has been temporarily removed for Xaero's users\n" +
16+
"- Other things I'm forgetting\n" +
17+
"Hopefully nothing too game-breaking! :P"
1418

15-
/// Minecraft & Fabric ///
1619
String mc_version = "1.17.1"
1720
String mc_version_major = "1.17"
1821
String yarn_mappings = "63" // https://fabricmc.net/versions.html
1922
String loader_version = "0.12.4" // https://fabricmc.net/versions.html
2023
String fabric_version = "0.41.3" // https://fabricmc.net/versions.html
21-
22-
/// Useful annotations ///
23-
String lombok_version = "1.18.22" // https://mvnrepository.com/artifact/org.projectlombok/lombok
24-
25-
/// Compat ///
2624
String modmenu_version = "2.0.14" // https://modrinth.com/mod/modmenu/versions
25+
String lombok_version = "1.18.22" // https://mvnrepository.com/artifact/org.projectlombok/lombok
2726
String voxel_version = "1.10.15" // https://www.curseforge.com/minecraft/mc-mods/voxelmap/files/all
2827
String xmm_version = "21.20.0" // https://www.curseforge.com/minecraft/mc-mods/xaeros-minimap/files/all
2928
String xwm_version = "1.18.0" // https://www.curseforge.com/minecraft/mc-mods/xaeros-world-map/files/all
30-
String gbl_version = "1.3.4" // https://minecraft.guntram.de/maven/de/guntram/mcmod/GBfabrictools/maven-metadata.xml
31-
String crowdin_version = "1.3" // https://minecraft.guntram.de/maven/de/guntram/mcmod/crowdin-translate/maven-metadata.xml
32-
String echests_version = "0.36.1-1.7.0" // https://api.modrinth.com/maven/maven/modrinth/easierchests/maven-metadata.xml
3329

3430
archivesBaseName = "emcutils"
3531
version = mc_version + "-" + mod_version + System.getenv().SNAPSHOT
@@ -46,14 +42,6 @@ repositories {
4642
includeGroup "xaero"
4743
}
4844
}
49-
maven {
50-
url "https://api.modrinth.com/maven"
51-
content { includeGroup "maven.modrinth" }
52-
}
53-
maven {
54-
url "https://minecraft.guntram.de/maven/"
55-
content { includeGroup "de.guntram.mcmod" }
56-
}
5745
}
5846

5947
// Comment this line out if you have good internet
@@ -62,7 +50,6 @@ idea { module { downloadJavadoc = false } }
6250
loom { accessWidenerPath = file("src/main/resources/emcutils.tsv") }
6351

6452
dependencies {
65-
/// Minecraft & Fabric ///
6653
minecraft "com.mojang:minecraft:${mc_version}"
6754
mappings "net.fabricmc:yarn:${mc_version}+build.${yarn_mappings}:v2"
6855
modImplementation "net.fabricmc:fabric-loader:${loader_version}"
@@ -71,29 +58,16 @@ dependencies {
7158
include(modImplementation(fabricApi.module("fabric-$it", "${fabric_version}+${mc_version_major}")))
7259
}
7360

74-
/// Useful annotations ///
7561
implementation annotationProcessor("org.projectlombok:lombok:${lombok_version}")
7662

77-
/// Compat ///
78-
79-
// Mod Menu
8063
modImplementation ("com.terraformersmc:modmenu:${modmenu_version}") {
8164
exclude group: "net.fabricmc.fabric-api"
8265
exclude group: "net.fabricmc"
8366
}
8467

85-
// Map mods
8668
modApi "com.mamiyaotaru:voxelmap:${voxel_version}+${mc_version_major}"
8769
modApi "xaero:minimap:${xmm_version}+${mc_version_major}"
8870
modApi "xaero:map:${xwm_version}+${mc_version_major}"
89-
90-
// EasierChests
91-
modApi("de.guntram.mcmod:GBfabrictools:${gbl_version}+${mc_version_major}") {
92-
exclude group: "net.fabricmc.fabric-api"
93-
exclude group: "net.fabricmc"
94-
}
95-
modApi "de.guntram.mcmod:crowdin-translate:${crowdin_version}+${mc_version_major}"
96-
modApi "maven.modrinth:easierchests:${mc_version}-fabric${echests_version}"
9771
}
9872

9973
tasks.withType(JavaCompile) { it.options.encoding = "UTF-8" }

src/main/java/dev/frydae/emcutils/mixins/EMCMixinPlugin.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public class EMCMixinPlugin implements IMixinConfigPlugin {
3939
public boolean shouldApplyMixin(@NotNull String targetClassName, String mixinClassName) {
4040
if (mixinClassName.contains("voxelMap")) return FabricLoader.getInstance().isModLoaded("voxelmap");
4141
if (mixinClassName.contains("xaero")) return FabricLoader.getInstance().isModLoaded("xaeroworldmap");
42-
if (mixinClassName.contains("easierChests")) return FabricLoader.getInstance().isModLoaded("easierchests");
4342
return true;
4443
}
4544

src/main/java/dev/frydae/emcutils/mixins/MinecraftClientMixin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public abstract class MinecraftClientMixin {
4444
@Shadow
4545
private Window window;
4646

47-
@Inject(at = @At("INVOKE"), method = "setScreen", cancellable = true)
47+
@Inject(method = "setScreen", at = @At("HEAD"), cancellable = true)
4848
public void onOpenScreen(@Nullable Screen screen, CallbackInfo ci) {
4949
if (!(screen instanceof VaultScreen)) {
5050
return;

src/main/java/dev/frydae/emcutils/mixins/easierChests/HandledScreensMixin.java

Lines changed: 0 additions & 54 deletions
This file was deleted.

src/main/java/dev/frydae/emcutils/mixins/xaero/GuiMapNameMixin.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
package dev.frydae.emcutils.mixins.xaero;
2727

28+
public abstract class GuiMapNameMixin {}
29+
/*
2830
import dev.frydae.emcutils.utils.Util;
2931
import org.spongepowered.asm.mixin.Mixin;
3032
import org.spongepowered.asm.mixin.Pseudo;
@@ -39,8 +41,10 @@
3941
public abstract class GuiMapNameMixin {
4042
@Shadow(remap = false) private String currentNameFieldContent;
4143
42-
@Inject(method = "init", at = @At(value = "HEAD"), remap = false)
44+
FIXME: This is currently broken to all hell and crashes the game and I have absolutely zero clue why
45+
@Inject(method = "init()V", at = @At(value = "HEAD"), remap = false)
4346
public void setSubworldName(CallbackInfo ci) {
4447
if (Util.isOnEMC) this.currentNameFieldContent = Util.getCurrentServer().getName().toLowerCase() + " - " + Util.getWorld();
4548
}
4649
}
50+
*/

src/main/resources/emcutils.mixins.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@
1414
"PlayerListHudAccessor",
1515
"PlayerListHudMixin",
1616
"ScreenMixin",
17-
"easierChests.HandledScreensMixin",
1817
"voxelMap.GuiPersistentMapMixin",
1918
"voxelMap.GuiWaypointsMixin",
2019
"voxelMap.VoxelMapMixin",
21-
"xaero.GuiMapNameMixin",
2220
"xaero.ModSettingsMixin",
2321
"xaero.SupportXaeroMinimapMixin"
2422
],

src/main/resources/fabric.mod.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"schemaVersion": 1,
33
"id": "emcutils",
4-
"version": "2.3.1-alpha.build.10",
4+
"version": "2.3.1",
55
"name": "Empire Minecraft Utilities",
66
"description": "A collection of various utilities for the Empire Minecraft server.",
77
"authors": [
8-
"MrFrydae"
8+
"MrFrydae",
9+
"wafflecoffee"
910
],
1011
"contributors": [
11-
"wafflecoffee",
1212
"BlockHead_56"
1313
],
1414
"contact": {
15-
"homepage": "https://emc.gs/t/84361",
15+
"homepage": "https://emc.gs/t/84930",
1616
"sources": "https://github.com/wafflecoffee/Empire-Minecraft-Utilities",
1717
"issues": "https://github.com/wafflecoffee/Empire-Minecraft-Utilities/issues"
1818
},
@@ -36,7 +36,7 @@
3636
"fabric-api-base": "*",
3737
"fabric-item-api-v1": "*",
3838
"fabric-networking-api-v1": "*",
39-
"minecraft": "~1.17.1"
39+
"minecraft": ">=1.17.1"
4040
},
4141
"suggests": {
4242
"modmenu": ">=2.0.14",

0 commit comments

Comments
 (0)