Skip to content

Commit

Permalink
Update dependency versions, fix in-game GUI background texture
Browse files Browse the repository at this point in the history
  • Loading branch information
comp500 committed Dec 22, 2023
1 parent 1722978 commit 402aef7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/develop
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.1
loader_version=0.15.1
yarn_mappings=1.20.4+build.3
loader_version=0.15.3

# Mod Properties
mod_version = 1.1.10
Expand All @@ -14,8 +14,8 @@ org.gradle.jvmargs=-Xmx1G

# Dependencies
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
fabric_version=0.91.2+1.20.4
modmenu_version=9.0.0-pre.1
fabric_version=0.91.3+1.20.4
modmenu_version=9.0.0

# Publishing metadata
curseforge_id=310205
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ public void render(DrawContext drawContext, int mouseX, int mouseY, float delta)
drawContext.drawCenteredTextWithShadow(this.textRenderer, this.title, this.width / 2, 10, 16777215);
}

@Override
public void renderBackground(DrawContext context, int mouseX, int mouseY, float delta) {
this.renderBackgroundTexture(context);
}

public abstract void addElements();
// Builder methods - should be called in the method you should override

Expand Down

0 comments on commit 402aef7

Please sign in to comment.