Skip to content

Commit

Permalink
Merge pull request #32 from diademiemi/main
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkKronicle authored Apr 17, 2023
2 parents 79e7212 + 324b01a commit 75584fa
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies {
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
modImplementation "fi.dy.masa.malilib:malilib-fabric-1.19.3:${project.malilib_version}"
modImplementation "fi.dy.masa.malilib:malilib-fabric-1.19.4:${project.malilib_version}"
modImplementation "com.github.DarkKronicle:AdvancedChatCore:${project.advancedchat_version}"
}

Expand Down
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
minecraft_version=1.19.3
yarn_mappings=1.19.3+build.2
minecraft_version=1.19.4
yarn_mappings=1.19.4+build.1
loader_version=0.14.11
fabric_api_version=0.68.1+1.19.3
fabric_api_version=0.76.0+1.19.4

mod_version=1.3.7
mod_version=1.3.8
maven_group=io.github.darkkronicle
archives_base_name=AdvancedChatHUD

malilib_version = 0.14.0
malilib_version = 0.15.2
org.gradle.jvmargs=-Xmx1G
advancedchat_version=v1.5.9
advancedchat_version=v1.5.10

# Uploading data
curseforge_slug=advancedchathud
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,14 @@ public void init() {
text.setMaxLength(12800);
if (starting != null) {
text.setText(starting);
text.setTextFieldFocused(true);
text.setFocused(true);
}

text.changeFocus(true);
text.setFocused(true);
text.setDrawsBackground(true);
text.setEditable(true);
text.changeFocus(true);
text.setFocused(true);

this.addTextField(text, null);

this.addButton(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public void render(MatrixStack matrixStack, int ticks, boolean focused) {
labelWidth,
scaledBar,
tab.getBorderColor().color());
DrawableHelper.drawCenteredText(
DrawableHelper.drawCenteredTextWithShadow(
matrixStack,
MinecraftClient.getInstance().textRenderer,
tab.getAbbreviation(),
Expand Down Expand Up @@ -525,7 +525,7 @@ public void render(MatrixStack matrixStack, int ticks, boolean focused) {
double mouseX = client.mouse.getX() / 2;
double mouseY = client.mouse.getY() / 2;
if (isMouseOverVisibility(mouseX, mouseY)) {
DrawableHelper.drawStringWithShadow(
DrawableHelper.drawCenteredTextWithShadow(
matrixStack,
client.textRenderer,
visibility.getDisplayName(),
Expand Down
8 changes: 4 additions & 4 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"advancedchathud.mixins.json"
],
"depends": {
"fabricloader": ">=0.8.9+build.204",
"fabricloader": ">=0.14.18",
"fabric": "*",
"minecraft": ">=1.19.3",
"malilib": ">=0.13.0",
"advancedchatcore": ">=1.5.2-1.19"
"minecraft": ">=1.19.4",
"malilib": ">=0.15.2",
"advancedchatcore": ">=1.5.10-1.19"
},
"custom": {
"acmodule": true,
Expand Down

0 comments on commit 75584fa

Please sign in to comment.