[Change] Adapted to new UI API for 1.20.3
This commit is contained in:
parent
20a17761ba
commit
0d6d538efe
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue