Skip to content

Commit 2a85aba

Browse files
committed
Update to 1.18.2, remove ModuleMixin, gradle 7.3.3 -> 7.4.1, bump version to 1.0.2
1 parent 1bfd6bb commit 2a85aba

File tree

7 files changed

+17
-36
lines changed

7 files changed

+17
-36
lines changed

build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ repositories {
1818
name = "meteor-maven-snapshots"
1919
url = "https://maven.meteordev.org/snapshots"
2020
}
21-
jcenter()
2221
}
2322

2423
dependencies {
@@ -31,6 +30,13 @@ dependencies {
3130
modImplementation "meteordevelopment:meteor-client:${project.meteor_version}"
3231
}
3332

33+
configurations.all {
34+
resolutionStrategy {
35+
cacheDynamicVersionsFor 0, "seconds"
36+
cacheChangingModulesFor 0, "seconds"
37+
}
38+
}
39+
3440
processResources {
3541
inputs.property "version", project.version
3642

@@ -43,4 +49,4 @@ processResources {
4349
tasks.withType(JavaCompile).configureEach {
4450
it.options.encoding = "UTF-8"
4551
it.options.release = 17
46-
}
52+
}

gradle.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
org.gradle.jvmargs=-Xmx2G
22

33
# Fabric (https://fabricmc.net/versions.html)
4-
minecraft_version=1.18
5-
yarn_mappings=1.18+build.1
4+
minecraft_version=1.18.2
5+
yarn_mappings=1.18.2+build.1
66
loader_version=0.12.12
77

88
# Mod Properties
9-
mod_version=1.0.1
9+
mod_version=1.0.2
1010
maven_group=com.github.simulatan
1111
archives_base_name=notifications-addon
1212

1313
# Dependency Versions
1414

1515
# Meteor (https://maven.meteordev.org/)
16-
meteor_version=SNAPSHOT
16+
meteor_version=SNAPSHOT
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
5-
zipStorePath=wrapper/dists
5+
zipStorePath=wrapper/dists

src/main/java/com/github/simulatan/meteornotificationsaddon/NotificationsAddon.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import meteordevelopment.meteorclient.systems.Systems;
88
import meteordevelopment.meteorclient.systems.commands.Commands;
99
import meteordevelopment.meteorclient.systems.hud.HUD;
10-
import meteordevelopment.meteorclient.systems.modules.Modules;
1110
import org.apache.logging.log4j.LogManager;
1211
import org.apache.logging.log4j.Logger;
1312

@@ -30,4 +29,4 @@ public void onInitialize() {
3029
HUD hud = Systems.get(HUD.class);
3130
hud.elements.add(new NotificationsHudElement(hud));
3231
}
33-
}
32+
}

src/main/java/com/github/simulatan/meteornotificationsaddon/commands/NotificationsCommand.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import com.mojang.brigadier.suggestion.Suggestions;
1212
import com.mojang.brigadier.suggestion.SuggestionsBuilder;
1313
import meteordevelopment.meteorclient.systems.commands.Command;
14-
import meteordevelopment.meteorclient.systems.modules.Modules;
1514
import meteordevelopment.meteorclient.utils.player.ChatUtils;
1615
import net.minecraft.command.CommandSource;
1716
import net.minecraft.text.LiteralText;
@@ -77,4 +76,4 @@ public Collection<String> getExamples() {
7776
return EXAMPLES;
7877
}
7978
}
80-
}
79+
}

src/main/java/com/github/simulatan/meteornotificationsaddon/mixins/ModuleMixin.java

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

src/main/resources/notifications.mixins.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
},
1010
"mixins": [
1111
"MeshMixin",
12-
"ModuleMixin",
1312
"ModulesMixin",
1413
"Renderer2DMixin"
1514
]
16-
}
15+
}

0 commit comments

Comments
 (0)