Skip to content

Commit

Permalink
update to 1.20.4
Browse files Browse the repository at this point in the history
  • Loading branch information
granny committed Jan 8, 2024
1 parent 7ac4c44 commit f254817
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PurpurClient is designed to work together with [Purpur](https://github.com/Purpu

</div>

### Current Features in 1.20.2:
### Current Features in 1.20.4:

* Customizable mob passenger offsets
* Adds bee counts inside beehives to debug screen¹
Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
org.gradle.jvmargs=-Xmx2G

minecraft_version=1.20.2
yarn_mappings=1.20.2+build.1
loader_version=0.14.22
fabric_version=0.89.1+1.20.2
modmenu_version=8.0.0-beta.2
minecraft_version=1.20.4
yarn_mappings=1.20.4+build.3
loader_version=0.15.3
fabric_version=0.92.1+1.20.4
modmenu_version=9.0.0
configurate_version=4.1.2

maven_group=org.purpurmc.purpur.client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public DoubleButton(int x, int y, int width, int height, DoubleOption option) {
}

@Override
public void renderButton(DrawContext context, int mouseX, int mouseY, float delta) {
public void renderWidget(DrawContext context, int mouseX, int mouseY, float delta) {
if (this.hovered) {
if (mouseX >= this.getX() && mouseX < this.getX() + this.height) {
this.btn = Btn.MINUS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public MobButton(AbstractScreen screen, Mob mob, int x, int y) {
this.mob = mob;
}

public void renderButton(DrawContext context, int mouseX, int mouseY, float delta) {
public void renderWidget(DrawContext context, int mouseX, int mouseY, float delta) {
RenderSystem.setShader(GameRenderer::getPositionTexProgram);
RenderSystem.setShaderTexture(0, MOBS_TEXTURE);
RenderSystem.enableDepthTest();
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"purpurclient.mixins.json"
],
"depends": {
"fabricloader": ">=0.14.22",
"fabricloader": ">=0.15.3",
"fabric": "*",
"minecraft": "1.20.2"
"minecraft": "1.20.4"
},
"custom": {
"modmenu": {
Expand Down

0 comments on commit f254817

Please sign in to comment.