Skip to content

Commit

Permalink
Attempt 1 at updating to 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbuilder1961 committed Dec 11, 2024
1 parent f568206 commit 0f1804c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog

## Chat Patches `213.6.10` for Minecraft 1.21.2, 1.21.3 on Fabric, Quilt
## Chat Patches `214.6.10` for Minecraft 1.21.2, 1.21.3, 1.21.4 on Fabric, Quilt
- Now compatible with 1.21.4! Only ONE code change was made and it's super basic :D
- Updated `pt_br` translations thanks to [demorogabrtz](https://github.com/demorogabrtz)! ([#209](https://www.github.com/mrbuilder1961/ChatPatches/issues/209))
- **Dev notes:**
- Removed the now redundant `Flags` class, which helped some random parts of the message modification process that didn't actually need to be out of scope
Expand Down
16 changes: 8 additions & 8 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ org.gradle.parallel=true
# Mod properties
archives_base_name=chatpatches
group=obro1961.chatpatches
version=213.6.10
version=214.6.10
cfId=560042
mrId=MOqt4Z5n

# Required dependencies - https://fabricmc.net/develop
minecraft=1.21.3
yarn=+build.2
minecraft=1.21.4
yarn=+build.1
loader=0.16.9
api=0.107.0+1.21.3
api=0.111.0+1.21.4

# Dependencies - modmenu: https://modrinth.com/mod/modmenu/versions?l=fabric and yacl: https://modrinth.com/mod/yacl/versions?l=fabric
modmenu=12.0.0-beta.1
yacl=3.6.1+1.21.2
modmenu=13.0.0-beta.1
yacl=3.6.2+1.21.4

# Publishing metadata
# /- Typically the latest version, but can be 1.18.x for example
branch=1.21.3
targets=1.21.2,1.21.3
branch=1.21.4
targets=1.21.2,1.21.3,1.21.4
loaders=Fabric,Quilt
# /- ALPHA, BETA, or STABLE
phase=STABLE
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public SearchButtonWidget(int x, int y, PressAction leftAction, PressAction righ

@Override
public boolean mouseClicked(double x, double y, int buttonType) {
if(active && visible && clicked(x, y)) {
if(isMouseOver(x, y)) {
if(buttonType == GLFW.GLFW_MOUSE_BUTTON_LEFT) {
this.playDownSound(MinecraftClient.getInstance().getSoundManager());
onLeftClick.onPress(this);
Expand All @@ -35,4 +35,4 @@ public boolean mouseClicked(double x, double y, int buttonType) {
}
return false;
}
}
}
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

"depends": {
"java": ">=21",
"minecraft": [ "1.21.2", "1.21.3" ],
"minecraft": [ "1.21.2", "1.21.3", "1.21.4" ],
"fabricloader": ">=0.16.9",
"fabric-api": "*",
"yet_another_config_lib_v3": "*"
Expand Down

0 comments on commit 0f1804c

Please sign in to comment.