package aeronicamc.mods.mxtune.blocks;

import aeronicamc.mods.mxtune.Reference;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.systems.RenderSystem;
import net.minecraft.client.gui.screen.inventory.ContainerScreen;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.text.ITextComponent;

import java.util.Objects;

public class MusicBlockScreen extends ContainerScreen<MusicBlockContainer>
{
    private final ResourceLocation GUI = new ResourceLocation(Reference.MOD_ID, "textures/gui/inv_music_block_gui.png");

    public MusicBlockScreen(MusicBlockContainer screenContainer, PlayerInventory inv, ITextComponent titleIn)
    {
        super(screenContainer, inv, titleIn);
    }

    @Override
    protected void renderBg(MatrixStack matrixStack, float partialTicks, int x, int y)
    {
        //RenderSystem.color4f(1.0F, 1.0F, 1.0F, 1.0F);
        RenderSystem.clearColor(1.0F, 1.0F, 1.0F, 1.0F);
        Objects.requireNonNull(this.minecraft).getTextureManager().bind(GUI);
        int relX = (this.width - this.imageWidth) / 2;
        int relY = (this.height - this.imageHeight) / 2;
        this.blit(matrixStack, relX, relY, 0, 0, this.imageWidth, this.imageHeight);
    }

    @Override
    public void render(MatrixStack matrixStack , int mouseX, int mouseY, float partialTicks) {
        this.renderBackground(matrixStack);
        super.render(matrixStack, mouseX, mouseY, partialTicks);
        this.renderTooltip(matrixStack, mouseX, mouseY);
    }

    @Override
    protected void renderLabels(MatrixStack matrixStack , int mouseX, int mouseY) {
        this.font.draw(matrixStack, menu.getName().getContents(), 10, 8, 4210752);
        this.font.draw(matrixStack, this.inventory.getDisplayName().getContents(), 10, 58, 4210752);
    }
}

@@ -766,16 +766,79 @@
 tleIn);%0A
+        this.imageWidth = 176;%0A        this.imageHeight = 180;%0A
     %7D%0A%0A 
@@ -1772,29 +1772,15 @@
 me()
-.getContents()
 , 10, 
-8
+2
 , 42
@@ -1858,30 +1858,16 @@
 me()
-.getContents()
 , 10, 
-5
 8
+4
 , 42

Set image size explicitly. font.draw handle ITextComponent just fine. Don't use the getContents method. This was probably fine in 1.14.