Skip to content

Commit 1722978

Browse files
authored
Update to 1.20.4 (#91)
1 parent e1ff2fa commit 1722978

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

gradle.properties

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ org.gradle.jvmargs=-Xmx1G
33

44
# Fabric Properties
55
# check these on https://fabricmc.net/develop
6-
minecraft_version=1.20.2
7-
yarn_mappings=1.20.2+build.4
8-
loader_version=0.14.22
6+
minecraft_version=1.20.4
7+
yarn_mappings=1.20.4+build.1
8+
loader_version=0.15.1
99

1010
# Mod Properties
11-
mod_version = 1.1.9
11+
mod_version = 1.1.10
1212
maven_group = link.infra.borderlessmining
1313
archives_base_name = borderless-mining
1414

1515
# Dependencies
1616
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
17-
fabric_version=0.90.0+1.20.2
18-
modmenu_version=8.0.0
17+
fabric_version=0.91.2+1.20.4
18+
modmenu_version=9.0.0-pre.1
1919

2020
# Publishing metadata
2121
curseforge_id=310205

src/main/java/link/infra/borderlessmining/config/ConfigScreen.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected ConfigScreen(Text title, Screen parent) {
3434

3535
@Override
3636
protected final void init() {
37-
entries = new ConfigListWidget(client, width, height, 32, height - 32, 25);
37+
entries = new ConfigListWidget(client, width, height - 64, 32, 25);
3838
addElements();
3939
addDrawableChild(entries);
4040
addDrawableChild(ButtonWidget.builder(ScreenTexts.DONE, (button) -> {save(); client.setScreen(parent);})
@@ -45,8 +45,8 @@ protected final void init() {
4545
}
4646

4747
private static class ConfigListWidget extends ElementListWidget<ConfigListEntry> {
48-
public ConfigListWidget(MinecraftClient minecraftClient, int width, int height, int top, int bottom, int itemHeight) {
49-
super(minecraftClient, width, height, top, bottom, itemHeight);
48+
public ConfigListWidget(MinecraftClient minecraftClient, int width, int height, int y, int itemHeight) {
49+
super(minecraftClient, width, height, y, itemHeight);
5050
}
5151

5252
@Override

0 commit comments

Comments
 (0)