generated from MrSphay/codex-agent-repository-kit
This commit is contained in:
@@ -30,7 +30,7 @@ extends Screen {
|
||||
private boolean animationFinished = false;
|
||||
|
||||
public IntroSplashScreen() {
|
||||
super((Component)Component.m_237113_((String)"Intro"));
|
||||
super((Component)Component.literal((String)"Intro"));
|
||||
}
|
||||
|
||||
protected void m_7856_() {
|
||||
@@ -62,7 +62,7 @@ extends Screen {
|
||||
public void m_88315_(GuiGraphics graphics, int mouseX, int mouseY, float partialTick) {
|
||||
int displayWidth;
|
||||
int displayHeight;
|
||||
graphics.m_280509_(0, 0, this.f_96543_, this.f_96544_, -16777216);
|
||||
graphics.fill(0, 0, this.f_96543_, this.f_96544_, -16777216);
|
||||
if (this.animator == null) {
|
||||
return;
|
||||
}
|
||||
@@ -127,10 +127,10 @@ extends Screen {
|
||||
}
|
||||
|
||||
private void transitionToFirstTimeScreen() {
|
||||
Minecraft mc = Minecraft.m_91087_();
|
||||
if (!(mc.f_91080_ instanceof TitleScreen)) {
|
||||
Minecraft mc = Minecraft.getInstance();
|
||||
if (!(mc.screen instanceof TitleScreen)) {
|
||||
mc.execute(() -> {
|
||||
if (mc.f_91080_ instanceof TitleScreen) {
|
||||
if (mc.screen instanceof TitleScreen) {
|
||||
mc.m_91152_((Screen)new VinlanxSplashScreen());
|
||||
} else {
|
||||
mc.m_91152_((Screen)new VinlanxSplashScreen());
|
||||
|
||||
Reference in New Issue
Block a user