Skip to content

Commit

Permalink
feat: Support Minecraft 1.20.2
Browse files Browse the repository at this point in the history
  • Loading branch information
magicus committed Apr 20, 2024
1 parent 80db6e9 commit 1f03c64
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.1.0+1.20.2 - 2024-04-20

### Added

- Support for Minecraft 1.20.2

## 1.1.0+1.20 - 2024-04-20

### Added
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20
yarn_mappings=1.20+build.1
minecraft_version=1.20.2
yarn_mappings=1.20.2+build.4
loader_version=0.15.10

# Mod Properties
project_name=Mod Settings
mod_version=1.1.0+1.20
mod_version=1.1.0+1.20.2
maven_group=se.icus.mag
archives_base_name=modsettings

# Fabric api
fabric_version=0.83.0+1.20
fabric_version=0.91.6+1.20.2
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,9 @@ private ModSettingsOption[] getAllModConfigOptions() {

@Override
public void render(DrawContext context, int mouseX, int mouseY, float delta) {
this.renderBackground(context);
super.render(context, mouseX, mouseY, delta);
this.list.render(context, mouseX, mouseY, delta);
context.drawCenteredTextWithShadow(this.textRenderer, this.title, this.width / 2, 5, TITLE_COLOR);
super.render(context, mouseX, mouseY, delta);
}

@Override
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 @@ -33,6 +33,6 @@
"fabricloader": ">=0.7.4",
"fabric-screen-api-v1": ">=1.0.4",
"fabric-key-binding-api-v1": ">=1.0.1",
"minecraft": "~1.20"
"minecraft": ">=1.20.2"
}
}

0 comments on commit 1f03c64

Please sign in to comment.