Skip to content

Commit

Permalink
Update to 1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ramidzkh committed Dec 17, 2023
1 parent 3d2c902 commit 17f6a56
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ repositories {
}

dependencies {
minecraft("net.minecraft:minecraft:1.20.1")
mappings("net.fabricmc:yarn:1.20.1+build.1")
modImplementation("net.fabricmc:fabric-loader:0.14.21")
minecraft("net.minecraft:minecraft:1.20.2")
mappings("net.fabricmc:yarn:1.20.2+build.1")
modImplementation("net.fabricmc:fabric-loader:0.15.2")

modImplementation("net.fabricmc.fabric-api:fabric-api:0.84.0+1.20.1")
modImplementation("com.terraformersmc:modmenu:7.1.0")
modImplementation("me.shedaniel.cloth:cloth-config-fabric:11.0.99")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.91.2+1.20.2")
modImplementation("com.terraformersmc:modmenu:8.0.0")
modImplementation("me.shedaniel.cloth:cloth-config-fabric:12.0.113")
}

java {
Expand Down Expand Up @@ -76,7 +76,7 @@ System.getenv("CURSEFORGE")?.with { String key ->
releaseType = "release"
}

addGameVersion("1.20.1")
addGameVersion("1.20.2")
addGameVersion("Fabric")

mainArtifact(remapJar) {
Expand Down Expand Up @@ -109,7 +109,7 @@ modrinth {
}

uploadFile.set(remapJar)
gameVersions.addAll(["1.20.1"])
gameVersions.addAll(["1.20.2"])

dependencies {
required.project("fabric-api")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected void init() {

@Override
public void render(DrawContext drawContext, int mouseX, int mouseY, float delta) {
renderBackground(drawContext);
super.render(drawContext, mouseX, mouseY, delta);

int textWidth = client.textRenderer.getWidth(INSTALL_CLOTH_CONFIG);
drawContext.drawTextWithShadow(client.textRenderer, INSTALL_CLOTH_CONFIG, (width - textWidth) / 2, height / 3, 0xFF0000);
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"name": "Fabrishot",
"description": "Take high resolution screenshots because why not",
"depends": {
"minecraft": "1.20.1",
"minecraft": "1.20.2",
"fabric-lifecycle-events-v1": "*",
"fabric-key-binding-api-v1": "*"
},
Expand Down

0 comments on commit 17f6a56

Please sign in to comment.