Update to 1.20.4

This commit is contained in:
AxolotlMaid 2024-01-07 11:54:58 +00:00
parent f55488ecf7
commit 6979ff543d
6 changed files with 19 additions and 21 deletions

View file

@ -22,7 +22,7 @@ public class ProfilesList extends ContainerObjectSelectionList<ProfilesList.Entr
final ProfilesScreen profilesScreen; final ProfilesScreen profilesScreen;
public ProfilesList(ProfilesScreen profilesScreen, Minecraft minecraft) { public ProfilesList(ProfilesScreen profilesScreen, Minecraft minecraft) {
super(minecraft, profilesScreen.width + 45, profilesScreen.height, 20, profilesScreen.height - 32, 20); super(minecraft, profilesScreen.width + 45, profilesScreen.height - 52, 20, 20);
this.profilesScreen = profilesScreen; this.profilesScreen = profilesScreen;
refreshEntries(); refreshEntries();

View file

@ -26,7 +26,7 @@
], ],
"depends": { "depends": {
"fabric": "*", "fabric": "*",
"minecraft": ">=1.20.1", "minecraft": ">=1.20.4",
"architectury": ">=9.1.12" "architectury": ">=11.0.10"
} }
} }

View file

@ -17,6 +17,12 @@ loom {
mixinConfig "optionsprofiles-common.mixins.json" mixinConfig "optionsprofiles-common.mixins.json"
mixinConfig "optionsprofiles.mixins.json" mixinConfig "optionsprofiles.mixins.json"
} }
mods {
register("forge") {
sourceSet("main", project(":forge"))
}
}
} }
configurations { configurations {

View file

@ -1,5 +1,5 @@
modLoader = "javafml" modLoader = "javafml"
loaderVersion = "[47,)" loaderVersion = "[49,)"
#issueTrackerURL = "" #issueTrackerURL = ""
license = "GNU GPL 3.0" license = "GNU GPL 3.0"
@ -16,20 +16,20 @@ logoFile = "icon.png"
[[dependencies.optionsprofiles]] [[dependencies.optionsprofiles]]
modId = "forge" modId = "forge"
mandatory = true mandatory = true
versionRange = "[47,)" versionRange = "[49,)"
ordering = "NONE" ordering = "NONE"
side = "BOTH" side = "BOTH"
[[dependencies.optionsprofiles]] [[dependencies.optionsprofiles]]
modId = "minecraft" modId = "minecraft"
mandatory = true mandatory = true
versionRange = "[1.20.1,)" versionRange = "[1.20.4,)"
ordering = "NONE" ordering = "NONE"
side = "BOTH" side = "BOTH"
[[dependencies.optionsprofiles]] [[dependencies.optionsprofiles]]
modId = "architectury" modId = "architectury"
mandatory = true mandatory = true
versionRange = "[9.1.12,)" versionRange = "[11.0.10,)"
ordering = "AFTER" ordering = "AFTER"
side = "BOTH" side = "BOTH"

View file

@ -1,23 +1,15 @@
org.gradle.jvmargs=-Xmx6G org.gradle.jvmargs=-Xmx6G
minecraft_version=1.20.2 minecraft_version=1.20.4
enabled_platforms=fabric,forge enabled_platforms=fabric,forge
archives_base_name=optionsprofiles archives_base_name=optionsprofiles
mod_version=1.1 mod_version=1.1
maven_group=com.axolotlmaid.optionsprofiles maven_group=com.axolotlmaid.optionsprofiles
#architectury_version=9.1.12 architectury_version=11.0.10
#
#fabric_loader_version=0.14.23
#fabric_api_version=0.90.4+1.20.1
#
#forge_version=1.20.1-47.2.1
fabric_loader_version=0.15.3
fabric_api_version=0.92.1+1.20.4
architectury_version=10.0.9 forge_version=1.20.4-49.0.14
fabric_loader_version=0.14.24
fabric_api_version=0.90.7+1.20.2
forge_version=1.20.2-48.0.39

View file

@ -11,4 +11,4 @@ include("common")
include("fabric") include("fabric")
include("forge") include("forge")
rootProject.name = "optionsprofiles-v1.1-1.20.2" rootProject.name = "optionsprofiles-v1.1-1.20.4"