Skip to content

Commit

Permalink
Release v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
triphora committed Mar 10, 2022
1 parent e9141bb commit 31665f1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public abstract class ConnectScreenMixin {
@Inject(method = "connect(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/network/ServerAddress;)V", at = @At(value = "HEAD"))
public void onConnect(MinecraftClient client, ServerAddress address, CallbackInfo ci) {
Util.setServerAddress(String.valueOf(address));
Util.isOnEMC = address.getAddress().matches(".*.emc.gs?.");
Util.isOnEMC = address.getAddress().matches("(.*\\.)?(emc\\.gs|empire\\.us|empireminecraft\\.com)");
}
}
6 changes: 6 additions & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ components.java {
}
}

import com.modrinth.minotaur.dependencies.ModDependency
modrinth {
projectId = "QYTT62S0"
versionNumber = rootProject.mod_version + "+fabric"
Expand All @@ -97,6 +98,11 @@ modrinth {
uploadFile = remapJar
gameVersions = ["1.18.2"]
loaders = ["fabric"]
dependencies = [
new ModDependency("P7dR8mSH", "required"), // FAPI
new ModDependency("codAaoxh", "required"), // MidnightLib
new ModDependency("mOgUt4GM", "optional"), // Mod Menu
]
}

publishing {
Expand Down
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ org.gradle.parallel=true
mc_version=1.18.2
mod_version=3.0.0

release_title=
release_title=Update to 1.18.2
changeLog=

# https://fabricmc.net/develop
yarn_mappings=1
yarn_mappings=2
loader_version=0.13.3
fabric_version=0.47.8+1.18.2
fabric_version=0.47.10+1.18.2

# https://files.minecraftforge.net/
forge_version=40.0.1
forge_version=40.0.12

# https://maven.shedaniel.me/dev/architectury/architectury/
architectury_version=4.0.27
architectury_version=4.0.30

# https://modrinth.com/mod/midnightlib/versions
midnightlib_version=0.4.0
Expand All @@ -26,7 +26,7 @@ midnightlib_version=0.4.0
modmenu_version=3.1.0

# https://www.curseforge.com/minecraft/mc-mods/config-menus-forge/files/all
config_menus_version=3570070
config_menus_version=3671318

# https://www.curseforge.com/minecraft/mc-mods/voxelmap/files/all
# voxel_version=3345206
Expand Down

0 comments on commit 31665f1

Please sign in to comment.