Skip to content

Commit e7df02e

Browse files
committed
Update for 1.19.3
1 parent 573bf97 commit e7df02e

File tree

6 files changed

+20
-16
lines changed

6 files changed

+20
-16
lines changed

common/src/main/java/io/vram/littlegui/screen/SaveCancelScreen.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ public SaveCancelScreen(Component title, Screen parent, T data, ComponentSource
4646
protected void init() {
4747
super.init();
4848

49-
addRenderableWidget(new Button(width / 2 - 120 - padding / 2, height - lineHeight, 120, controlHeight, cancelLabel, (buttonWidget) -> {
49+
addRenderableWidget(Button.builder(cancelLabel, (buttonWidget) -> {
5050
minecraft.setScreen(parent);
51-
}));
51+
}).bounds(width / 2 - 120 - padding / 2, height - lineHeight, 120, controlHeight).build());
5252

53-
addRenderableWidget(new Button(width / 2 + padding / 2, height - lineHeight, 120, controlHeight, saveLabel, (buttonWidget) -> {
53+
addRenderableWidget(Button.builder(saveLabel, (buttonWidget) -> {
5454
saveValues();
5555
minecraft.setScreen(parent);
56-
}));
56+
}).bounds(width / 2 + padding / 2, height - lineHeight, 120, controlHeight).build());
5757
}
5858
}

common/src/main/java/io/vram/littlegui/widget/CycleButton.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public CycleButton(S parentScreen, int left, int top, int width, int height, Str
5959
}
6060

6161
@Override
62-
public void updateNarration(NarrationElementOutput var1) {
62+
public void updateWidgetNarration(NarrationElementOutput var1) {
6363
// TODO implement?
6464
}
6565

fabric/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99

1010
plugins {
11-
id 'fabric-loom' version '1.0.4'
11+
id 'fabric-loom' version '1.0.9'
1212
id 'maven-publish'
1313
id 'org.cadixdev.licenser' version '0.6.1'
1414
id 'org.ajoberstar.grgit' version '4.1.1'
@@ -18,8 +18,8 @@ plugins {
1818
}
1919

2020
ext.platform_name = 'fabric'
21-
ext.loader_version = '0.14.9'
22-
ext.fabric_version = '0.60.0+1.19.2'
21+
ext.loader_version = '0.14.11'
22+
ext.fabric_version = '0.69.0+1.19.3'
2323

2424
apply from: '../project_common.gradle'
2525
apply from: 'project.gradle'
@@ -153,6 +153,6 @@ modrinth {
153153
// On fabric, use 'remapJar' instead of 'jar'
154154
uploadFile = remapJar // This is the java jar task. If it can't find the jar, try 'jar.outputs.getFiles().asPath' in place of 'jar'
155155
gameVersions = ["${project.minecraft_version}"]
156-
loaders = ["${project.platform_name}"] // Must also be an array - no need to specify this if you're using Loom
156+
loaders = ["fabric", "quilt"] // Must also be an array - no need to specify this if you're using Loom
157157
}
158158
}

fabric/src/main/resources/fabric.mod.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
"environment": "client",
1818
"depends": {
19-
"fabricloader": ">=0.14.9",
20-
"minecraft": ">=1.19.2",
19+
"minecraft": ">=1.19.3",
2120
"java": ">=17"
2221
}
2322
}

forge/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99

1010
plugins {
11-
id 'dev.architectury.loom' version '0.12.0-SNAPSHOT'
11+
id 'dev.architectury.loom' version '1.0.305'
1212
id 'maven-publish'
1313
id 'org.cadixdev.licenser' version '0.6.1'
1414
id 'org.ajoberstar.grgit' version '4.1.1'
@@ -19,7 +19,7 @@ plugins {
1919
}
2020

2121
ext.platform_name = 'forge'
22-
ext.forge_version = '43.1.24'
22+
ext.forge_version = '44.0.7'
2323

2424
configurations {
2525
bundle { transitive = false }
@@ -150,6 +150,6 @@ modrinth {
150150
// On fabric, use 'remapJar' instead of 'jar'
151151
uploadFile = remapJar // This is the java jar task. If it can't find the jar, try 'jar.outputs.getFiles().asPath' in place of 'jar'
152152
gameVersions = ["${project.minecraft_version}"]
153-
loaders = ["${project.platform_name}"] // Must also be an array - no need to specify this if you're using Loom
153+
loaders = ["forge"] // Must also be an array - no need to specify this if you're using Loom
154154
}
155155
}

gruntle_common.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ext.mc_tag = 'mc119'
2-
ext.minecraft_version = '1.19.2'
3-
ext.release_version = '1.19.2'
2+
ext.minecraft_version = '1.19.3'
3+
ext.release_version = '1.19.3'
44

55
project.archivesBaseName = project.mod_name + "-" + project.platform_name + "-" + project.mc_tag
66

@@ -90,6 +90,11 @@ curseforge {
9090
releaseType = project.release_type
9191
addGameVersion project.release_version
9292
addGameVersion project.platform_name.capitalize()
93+
94+
if (project.platform_name.equals("fabric")) {
95+
addGameVersion "Quilt"
96+
}
97+
9398
changelog = "A changelog can be found at https://github.com/${github_repository_owner}/${github_repository}/commits"
9499

95100
mainArtifact(file("${project.buildDir}/libs/${archivesBaseName}-${version}.jar"))

0 commit comments

Comments
 (0)