content: package pro.mikey.fabric.xray.screens;
  
  import com.mojang.blaze3d.systems.RenderSystem;
  import com.mojang.blaze3d.vertex.PoseStack;
  import net.minecraft.client.gui.GuiGraphics;
  import net.minecraft.client.gui.screens.Screen;
  import net.minecraft.client.renderer.RenderType;
  import net.minecraft.network.chat.Component;
  import net.minecraft.resources.ResourceLocation;
  import pro.mikey.fabric.xray.Utils;
  
  public abstract class AbstractScreen extends Screen {
      private static final ResourceLocation TEXTURE = Utils.rlFull("textures/gui/recipe_book.png");
  
      AbstractScreen(Component title) {
          super(title);
      }
  
      @Override
      public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float delta) {
          super.render(guiGraphics, mouseX, mouseY, delta);
  
          RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F);
          int i = (this.width - 147) / 2;
          int j = (this.height - 166) / 2;
  
          guiGraphics.blit(RenderType::guiTextured, TEXTURE, i, j, 1, 1, 147, 166, 256, 256);
      }
  }
  