Museum HUD
Same code from #1064
I believe this pr has problems under certain screen sizes and gui scales, thus this is not being reviewed.
everything should work, but there is an issue related to craft cost calculations or specificly the items recipes, there are some items in the neu repo contains stranded mode recipes, like spirit mask, wither artifact, ender artifact and many more https://wiki.hypixel.net/Stranded#Emeralds_for_Item_Trades_
but i couldn't find a way to bypass these kind of recipes in NEUItem obj https://github.com/NotEnoughUpdates/NotEnoughUpdates-REPO/pull/1912
Similarly with some other PRs, this won't compile on 1.21.8 but the fixes should be pretty trivial since this is screen stuff: RenderLayer::getGuiTextured -> RenderPipelines.GUI_TEXTURED and giving rendered text a proper alpha.
This will also need an REI Exclusion Zone. You can do something like this in SkyblockerREIClientPlugin#registerExclusionZones
zones.register(GenericContainerScreen.class, containerScreen -> {
if (!SkyblockerConfigManager.get().uiAndVisuals.museumOverlay || !containerScreen.getTitle().getString().contains("Museum")) return List.of();
HandledScreenAccessor accessor = (HandledScreenAccessor) containerScreen;
return List.of(new Rectangle(accessor.getX() + accessor.getBackgroundWidth() + 4, accessor.getY(), MuseumManager.BACKGROUND_WIDTH, MuseumManager.BACKGROUND_HEIGHT));
});