Update to 1.21.3

This commit is contained in:
Moulberry committed 2024-11-14 03:55:01 +01:00
1 parent bc06f67861
commit 8c02fd7430
56 files changed
+609 -573

No files matched your search

@@ -3,6 +3,7 @@ package com.moulberry.flashback.screen;
import net.minecraft.client.gui.Font;
import net.minecraft.client.gui.GuiGraphics;
import net.minecraft.client.gui.components.Button;
import net.minecraft.client.renderer.RenderType;
import net.minecraft.network.chat.Component;
import net.minecraft.resources.ResourceLocation;
@@ -25,7 +26,7 @@ public class FlashbackButton extends Button {
int x = this.getX() + paddingX;
int y = this.getY() + paddingY;
guiGraphics.blit(ICON_PIXELATED, x, y, 0f, 0f, size, size, size, size);
guiGraphics.blit(RenderType::guiTextured, ICON_PIXELATED, x, y, 0f, 0f, size, size, size, size);
}