Skip to content

Commit

Permalink
update to 1.19.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ImUrX committed Aug 3, 2022
1 parent 99cbf27 commit d846a3b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ subprojects {
// The following line declares the mojmap mappings, you may use other mappings as well
// mappings loom.officialMojangMappings()
// The following line declares the yarn mappings you may select this one as well.
mappings "net.fabricmc:yarn:1.19+build.1"
mappings "net.fabricmc:yarn:1.19.1+build.5"

implementation "io.github.imurx:arboard:${rootProject.arboard_version}"
}
Expand Down
1 change: 1 addition & 0 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id "com.github.johnrengelman.shadow" version "7.1.2"
}
version = version + "-fabric"

architectury {
platformSetupLoomIde()
Expand Down
4 changes: 2 additions & 2 deletions fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
},
"mixins": ["screencopy.mixins.json"],
"depends": {
"minecraft": ">=1.19",
"cloth-config": ">=7.0.72",
"minecraft": ">=1.19.1",
"cloth-config": ">=8.0.75",
"fabric-lifecycle-events-v1": "*",
"fabric-resource-loader-v0": "*"
},
Expand Down
1 change: 1 addition & 0 deletions forge/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id "com.github.johnrengelman.shadow" version "7.1.2"
}
version = version + "-forge"

architectury {
platformSetupLoomIde()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@
import me.shedaniel.autoconfig.AutoConfig;
import me.shedaniel.autoconfig.serializer.Toml4jConfigSerializer;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.client.ConfigGuiHandler;
import net.minecraftforge.client.ConfigScreenHandler;
import net.minecraftforge.fml.DistExecutor;
import net.minecraftforge.fml.IExtensionPoint;
import net.minecraftforge.fml.ModLoadingContext;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.network.NetworkConstants;

@Mod(ScreenshotCopy.MOD_ID)
public class ScreenshotCopyForge {
Expand All @@ -23,7 +22,7 @@ public void client() {
AutoConfig.register(ScreencopyConfig.class, Toml4jConfigSerializer::new);
ScreenshotCopy.init();

ModLoadingContext.get().registerExtensionPoint(ConfigGuiHandler.ConfigGuiFactory.class, () -> new ConfigGuiHandler.ConfigGuiFactory((client, parent) ->
ModLoadingContext.get().registerExtensionPoint(ConfigScreenHandler.ConfigScreenFactory.class, () -> new ConfigScreenHandler.ConfigScreenFactory((client, parent) ->
AutoConfig.getConfigScreen(ScreencopyConfig.class, parent).get()
));
}
Expand Down
8 changes: 4 additions & 4 deletions forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
modLoader = "javafml"
loaderVersion = "[41,)"
loaderVersion = "[42,)"
issueTrackerURL = "https://github.com/ImUrX/screencopy/issues"
license = "MIT OR Apache-2.0"

Expand All @@ -18,20 +18,20 @@ logoFile = "icon.png"
[[dependencies.screencopy]]
modId = "forge"
mandatory = true
versionRange = "[41,)"
versionRange = "[42,)"
ordering = "NONE"
side = "BOTH"

[[dependencies.screencopy]]
modId = "minecraft"
mandatory = true
versionRange = "[1.19,)"
versionRange = "[1.19.1,)"
ordering = "NONE"
side = "BOTH"

[[dependencies.screencopy]]
modId = "cloth_config"
mandatory = true
versionRange = "[7.0.72,)"
versionRange = "[8.0.75,)"
ordering = "NONE"
side = "CLIENT"
14 changes: 7 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
org.gradle.jvmargs=-Xmx3050M

minecraft_version=1.19
minecraft_version=1.19.1
enabled_platforms=fabric,forge

archives_base_name=screenshotcopy
mod_version=1.2.1
mod_version=1.2.2
maven_group=io.github.imurx

cloth_config_version=7.0.72
cloth_config_version=8.0.75
arboard_version=1.1.1

fabric_loader_version=0.14.6
fabric_api_version=0.55.1+1.19
mod_menu_version=4.0.0
fabric_loader_version=0.14.8
fabric_api_version=0.58.5+1.19.1
mod_menu_version=4.0.5
fabrishot_version=1.8.0

forge_version=1.19-41.0.22
forge_version=1.19.1-42.0.1

quilt_loader_version=0.17.0-beta.2
quilt_fabric_api_version=1.0.0-beta.13+0.51.1-1.18.2

0 comments on commit d846a3b

Please sign in to comment.