Reduce decompile API blockers
Some checks failed
Build / build (push) Failing after 6m48s

This commit is contained in:
MrSphay
2026-05-04 13:33:41 +02:00
parent e41adca82b
commit 93c8d5efae
40 changed files with 472 additions and 1083 deletions

View File

@@ -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());