Skip to content

Commit

Permalink
feat: 1.19.1 support (fabric only), fix forge 1.19
Browse files Browse the repository at this point in the history
wiidotmom committed Aug 3, 2022
1 parent 15f9aaf commit 07cc27b
Showing 5 changed files with 11 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -18,4 +18,6 @@ classes/
.settings
*.launch

.DS_STORE
.DS_STORE

.architectury-transformer/
2 changes: 1 addition & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@
"depends": {
"minecraft": ">=1.19",
"java": ">=17",
"cloth-config2": ">=7.0.0"
"cloth-config2": ">=8.0.0"
},
"suggests": {
"modmenu": ">=4.0.0"
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
import dev.igalaxy.takeitslow.TakeItSlow;
import dev.igalaxy.takeitslow.config.TakeItSlowConfig;
import me.shedaniel.autoconfig.AutoConfig;
import net.minecraftforge.client.ConfigGuiHandler;
import net.minecraftforge.client.ConfigScreenHandler;
import net.minecraftforge.fml.ModLoadingContext;
import net.minecraftforge.fml.common.Mod;

@@ -12,8 +12,8 @@ public class ForgeEntrypoint {
public ForgeEntrypoint() {
TakeItSlow.onInitialize();

ModLoadingContext.get().registerExtensionPoint(ConfigGuiHandler.ConfigGuiFactory.class, () ->
new ConfigGuiHandler.ConfigGuiFactory(
ModLoadingContext.get().registerExtensionPoint(ConfigScreenHandler.ConfigScreenFactory.class, () ->
new ConfigScreenHandler.ConfigScreenFactory(
(mc, screen) -> AutoConfig.getConfigScreen(TakeItSlowConfig.class, screen).get()
)
);
2 changes: 1 addition & 1 deletion forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -30,6 +30,6 @@ side = "BOTH"
[[dependencies.takeitslow]]
modId = "cloth_config"
mandatory = true
versionRange = "[6,7)"
versionRange = "[8,9)"
ordering = "NONE"
side = "BOTH"
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ minecraft_version=1.19
enabled_platforms=fabric,forge

archives_base_name=take-it-slow
mod_version=1.0.2
mod_version=1.0.3
maven_group=dev.igalaxy.takeitslow

architectury_version=5.6.22
@@ -13,8 +13,8 @@ fabric_loader_version=0.14.7

forge_version=1.19-41.1.0

cloth_version = 6.+
modmenu_version = 4.+
cloth_version = 8.+
modmenu_version = 4.0.4



0 comments on commit 07cc27b

Please sign in to comment.