[Change] Adapted to new UI API for 1.20.3

This commit is contained in:
Frank 2023-12-05 17:29:31 +01:00
parent 20a17761ba
commit 0d6d538efe
3 changed files with 3 additions and 3 deletions

View file

@ -174,7 +174,7 @@ public class UpdatesScreen extends BCLibLayoutScreen {
} }
@Override @Override
protected void renderBackground(GuiGraphics guiGraphics, int i, int j, float f) { public void renderBackground(GuiGraphics guiGraphics, int i, int j, float f) {
guiGraphics.fill(0, 0, width, height, 0xBD343444); guiGraphics.fill(0, 0, width, height, 0xBD343444);
} }
} }

View file

@ -172,7 +172,7 @@ public class WelcomeScreen extends BCLibLayoutScreen {
} }
@Override @Override
protected void renderBackground(GuiGraphics guiGraphics, int i, int j, float f) { public void renderBackground(GuiGraphics guiGraphics, int i, int j, float f) {
guiGraphics.fill(0, 0, width, height, 0xBD343444); guiGraphics.fill(0, 0, width, height, 0xBD343444);
// Rectangle BANNER_UV = new Rectangle(0, 0, 427, 100); // Rectangle BANNER_UV = new Rectangle(0, 0, 427, 100);
// Size BANNER_RESOURCE_SIZE = BANNER_UV.size(); // Size BANNER_RESOURCE_SIZE = BANNER_UV.size();

View file

@ -412,7 +412,7 @@ public class WorldSetupScreen extends LayoutScreen {
} }
@Override @Override
protected void renderBackground(GuiGraphics guiGraphics, int i, int j, float f) { public void renderBackground(GuiGraphics guiGraphics, int i, int j, float f) {
guiGraphics.fill(0, 0, width, height, 0xBD343444); guiGraphics.fill(0, 0, width, height, 0xBD343444);
} }