Skip to content

Commit

Permalink
Update to 1.20.3-pre4
Browse files Browse the repository at this point in the history
- Updated to 1.20.3-pre4
  • Loading branch information
Prospector committed Nov 29, 2023
1 parent 921df4a commit 0cb2907
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ org.gradle.jvmargs=-Xmx1G
maven_group=com.terraformersmc
archive_name=modmenu

minecraft_version=23w46a
yarn_mappings=23w46a+build.4
loader_version=0.14.24
fabric_version=0.90.9+1.20.3
minecraft_version=1.20.3-pre4
yarn_mappings=1.20.3-pre4+build.2
loader_version=0.14.25
fabric_version=0.91.1+1.20.3
quilt_loader_version=0.17.7

# Project Metadata
Expand All @@ -20,7 +20,7 @@ default_release_type=stable
# Modrinth Metadata
modrinth_slug=modmenu
modrinth_id=mOgUt4GM
modrinth_game_versions=23w46a
modrinth_game_versions=1.20.3-pre4
modrinth_mod_loaders=fabric, quilt

# Mod Loader Metadata
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ public void filesDragged(List<Path> paths) {
}

if (allSuccessful) {
SystemToast.add(client.getToastManager(), SystemToast.Type.TUTORIAL_HINT, ModMenuScreenTexts.DROP_SUCCESSFUL_LINE_1, ModMenuScreenTexts.DROP_SUCCESSFUL_LINE_1);
SystemToast.add(client.getToastManager(), SystemToast.Type.PERIODIC_NOTIFICATION, ModMenuScreenTexts.DROP_SUCCESSFUL_LINE_1, ModMenuScreenTexts.DROP_SUCCESSFUL_LINE_1);
}
}
this.client.setScreen(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public LegacyTexturedButtonWidget(int x, int y, int width, int height, int u, in
}

@Override
public void renderButton(DrawContext context, int mouseX, int mouseY, float delta) {
public void renderWidget(DrawContext context, int mouseX, int mouseY, float delta) {
int v = this.v;

if (!this.isNarratable()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public ModMenuButtonWidget(int x, int y, int width, int height, Text text, Scree
}

@Override
public void renderButton(DrawContext DrawContext, int mouseX, int mouseY, float delta) {
super.renderButton(DrawContext, mouseX, mouseY, delta);
public void renderWidget(DrawContext DrawContext, int mouseX, int mouseY, float delta) {
super.renderWidget(DrawContext, mouseX, mouseY, delta);
if (ModMenuConfig.BUTTON_UPDATE_BADGE.getValue() && ModMenu.areModUpdatesAvailable()) {
UpdateAvailableBadge.renderBadge(DrawContext, this.width + this.getX() - 16, this.height / 2 + this.getY() - 4);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ public UpdateCheckerTexturedButtonWidget(int x, int y, int width, int height, in
}

@Override
public void renderButton(DrawContext DrawContext, int mouseX, int mouseY, float delta) {
super.renderButton(DrawContext, mouseX, mouseY, delta);
public void renderWidget(DrawContext DrawContext, int mouseX, int mouseY, float delta) {
super.renderWidget(DrawContext, mouseX, mouseY, delta);
if (ModMenuConfig.BUTTON_UPDATE_BADGE.getValue() && ModMenu.areModUpdatesAvailable()) {
UpdateAvailableBadge.renderBadge(DrawContext, this.getX() + this.width - 5, this.getY() - 3);
}
Expand Down

0 comments on commit 0cb2907

Please sign in to comment.