mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Update to 1.21.3
This commit is contained in:
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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user