From 76ebe3362a41e15308e8221b802e8a2bd3b74f4e Mon Sep 17 00:00:00 2001 From: shedaniel Date: Tue, 8 Aug 2023 22:04:05 +0800 Subject: Update to 23w31a --- .../rei/plugin/client/categories/DefaultInformationCategory.java | 6 +++--- .../plugin/client/categories/beacon/DefaultBeaconBaseCategory.java | 6 +++--- .../client/categories/beacon/DefaultBeaconPaymentCategory.java | 6 +++--- .../rei/plugin/client/categories/tag/ReferenceTagNodeWidget.java | 4 +++- 4 files changed, 12 insertions(+), 10 deletions(-) (limited to 'default-plugin') diff --git a/default-plugin/src/main/java/me/shedaniel/rei/plugin/client/categories/DefaultInformationCategory.java b/default-plugin/src/main/java/me/shedaniel/rei/plugin/client/categories/DefaultInformationCategory.java index 38de0e376..d9c6c7c35 100644 --- a/default-plugin/src/main/java/me/shedaniel/rei/plugin/client/categories/DefaultInformationCategory.java +++ b/default-plugin/src/main/java/me/shedaniel/rei/plugin/client/categories/DefaultInformationCategory.java @@ -161,9 +161,9 @@ public class DefaultInformationCategory implements DisplayCategory extends TagNodeWidget { public void render(GuiGraphics graphics, int mouseX, int mouseY, float delta) { if (this.overflowBounds.intersects(MatrixUtils.transform(graphics.pose().last().pose(), getBounds()))) { RenderSystem.setShader(GameRenderer::getPositionTexShader); - graphics.blit(new ResourceLocation("textures/gui/advancements/widgets.png"), bounds.x, bounds.y, 1, 128 + 27, 24, 24); + graphics.innerBlit(new ResourceLocation("textures/gui/sprites/advancements/task_frame_unobtained.png"), + bounds.x - 1, bounds.x - 1 + 26, bounds.y - 1, bounds.y - 1 + 26, 0, + 0, 1, 0, 1); this.slot.getBounds().setLocation(bounds.getCenterX() - this.slot.getBounds().getWidth() / 2, bounds.y + (bounds.height - this.slot.getBounds().getHeight()) / 2 + 1); this.slot.render(graphics, mouseX, mouseY, delta); if (this.containsMouse(mouseX, mouseY)) { -- cgit