File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ org.gradle.parallel=true
44
55# Fabric Properties
66# check these on https://fabricmc.net/develop
7- minecraft_version =1.21.9
8- yarn_mappings =1.21.9 +build.1
7+ minecraft_version =1.21.11
8+ yarn_mappings =1.21.11 +build.3
99loader_version =0.18.4
1010
1111# Mod Properties
@@ -14,6 +14,6 @@ maven_group=moe.zapic
1414archives_base_name =clock-hud
1515
1616# Dependencies
17- fabric_version =0.134.1 +1.21.9
18- cloth_config_version =20.0.149
19- mod_menu_version =16 .0.0-rc.2
17+ fabric_version =0.140.2 +1.21.11
18+ cloth_config_version =21.11.153
19+ mod_menu_version =17 .0.0-beta.1
Original file line number Diff line number Diff line change 11package moe .zapic .clockhud ;
22
3- import me .shedaniel .autoconfig .AutoConfig ;
3+ import me .shedaniel .autoconfig .AutoConfigClient ;
44import moe .zapic .clockhud .config .ModConfig ;
55import net .fabricmc .fabric .api .client .event .lifecycle .v1 .ClientTickEvents ;
66import net .fabricmc .fabric .api .client .keybinding .v1 .KeyBindingHelper ;
@@ -34,7 +34,7 @@ public static void bind() {
3434 Main .config .isShow = !Main .config .isShow ;
3535 }
3636 while (ShowConfigKeyBind .wasPressed ()) {
37- MinecraftClient .getInstance ().setScreen (AutoConfig .getConfigScreen (ModConfig .class , client .currentScreen ).get ());
37+ MinecraftClient .getInstance ().setScreen (AutoConfigClient .getConfigScreen (ModConfig .class , client .currentScreen ).get ());
3838 }
3939 });
4040 }
Original file line number Diff line number Diff line change 22
33import com .terraformersmc .modmenu .api .ConfigScreenFactory ;
44import com .terraformersmc .modmenu .api .ModMenuApi ;
5- import me .shedaniel .autoconfig .AutoConfig ;
5+ import me .shedaniel .autoconfig .AutoConfigClient ;
66
77public class ModMenuImpl implements ModMenuApi {
88 @ Override
99 public ConfigScreenFactory <?> getModConfigScreenFactory () {
10- return parent -> AutoConfig .getConfigScreen (ModConfig .class , parent ).get ();
10+ return parent -> AutoConfigClient .getConfigScreen (ModConfig .class , parent ).get ();
1111 }
1212}
Original file line number Diff line number Diff line change 3030 ],
3131
3232 "depends" : {
33- "minecraft" : " >=1.21.9 " ,
33+ "minecraft" : " >=1.21.11 " ,
3434 "java" : " >=21" ,
3535 "fabricloader" : " *" ,
3636 "fabric-api" : " *" ,
You can’t perform that action at this time.
0 commit comments