From 37ce77600637fc288b596935f5c4b4ded9f7a486 Mon Sep 17 00:00:00 2001 From: Omar Rahman Date: Sun, 15 Sep 2024 07:26:04 -0400 Subject: [PATCH 1/3] Version bump --- gradle.properties | 2 +- update.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 912da24..41de8ea 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,7 +22,7 @@ loader_version_range=[4,) mod_id=ramensadditions mod_name=Ramen's Additions mod_license=GNU GPLv3 -mod_version=0.2.0 +mod_version=0.2.1 mod_group_id=net.ramen5914.ramensadditions mod_authors=Omar Rahman (Ramen5914) mod_description=A collection of small additions to Minecraft that I wish were in the game. diff --git a/update.json b/update.json index 58928bd..52f812f 100644 --- a/update.json +++ b/update.json @@ -4,8 +4,8 @@ "1.0.0": "First release of my mod." }, "promos": { - "1.21.1-latest": "0.2.0", - "1.21.1-recommended": "0.2.0" + "1.21.1-latest": "0.2.1", + "1.21.1-recommended": "0.2.1" }, "versions": "1.21.1" } \ No newline at end of file From 381733bd83b7a527e36cd3c183a67fe5b7ac203d Mon Sep 17 00:00:00 2001 From: Omar Rahman Date: Sun, 15 Sep 2024 07:26:18 -0400 Subject: [PATCH 2/3] Adjusted error sprite placement --- .../ramensadditions/gui/screen/AdvancedGrindstoneScreen.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/net/ramen5914/ramensadditions/gui/screen/AdvancedGrindstoneScreen.java b/src/main/java/net/ramen5914/ramensadditions/gui/screen/AdvancedGrindstoneScreen.java index 2463545..35326ff 100644 --- a/src/main/java/net/ramen5914/ramensadditions/gui/screen/AdvancedGrindstoneScreen.java +++ b/src/main/java/net/ramen5914/ramensadditions/gui/screen/AdvancedGrindstoneScreen.java @@ -132,8 +132,9 @@ protected void renderBg(GuiGraphics guiGraphics, float partialTick, int mouseX, int j = (this.height - this.imageHeight) / 2; guiGraphics.blit(ADVANCED_GRINDSTONE_BACKGROUND, i, j, 0, 0, this.imageWidth, this.imageHeight); + if ((this.menu.getSlot(0).hasItem() || this.menu.getSlot(1).hasItem()) && !this.menu.getSlot(2).hasItem()) { - guiGraphics.blitSprite(ERROR_SPRITE, i + 92, j + 31, 28, 21); + guiGraphics.blitSprite(ERROR_SPRITE, i + 120, j + 34, 15, 15); } } From ee09ecc0ada18681792c670e096ea4f656fa35a7 Mon Sep 17 00:00:00 2001 From: Omar Rahman Date: Sun, 15 Sep 2024 07:26:26 -0400 Subject: [PATCH 3/3] Reduced size of sprite --- .../container/advanced_grindstone/error.png | Bin 158 -> 159 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/src/main/resources/assets/ramensadditions/textures/gui/sprites/container/advanced_grindstone/error.png b/src/main/resources/assets/ramensadditions/textures/gui/sprites/container/advanced_grindstone/error.png index 79a66f9c8dc070bb6f18afa149906c0d8d442072..890781b117fd0e000085c0a40b06ce07063a4520 100644 GIT binary patch delta 141 zcmbQoIG<6kGr-TCmrII^fq{Y7)59eQNb`d*2Q!f5;Yh6jQjEnx?oJHr&dI!-s3;xg z=;`7Z!Z9Pw@<3u)$s*EO!T-8~@HIOB**2YddM ph@NA=&wbr)e|Gubiuzyo+3UYC3LXh{vjG~-;OXk;vd$@?2>>hKF_r)T delta 140 zcmbQwIFC`WGr-TCmrII^fq{Y7)59eQNXr1RC=)Y~)W}IYKT%IQ$=B1xF{I*F@&V2t zk`gWa44M0wd5RQfRWdi5GIQ)nta#0^Xzk4HYz-Ovio=~HBqW>Ipy#7(8A5T-G@yGywp^$Sno{