Released · Minecraft 1.7.10 · LOTR Mod v35+

LOTRGUILib logo

LOTRGUILib

GUI and widget library for LOTR submods.

Overview

LOTRGUILib artwork

A GUI library for LOTR Mod 1.7.10 submods. It has SRG-safe render helpers, a full set of widgets, seven themes, a map overlay API, draggable panels and faction banner rendering. It doesn't add anything on its own and does nothing unless another mod uses it.

At a glance

StatusReleased
Versionv1.0
TypeLibrary
Minecraft1.7.10
LOTR Modv35+
Tags
libraryguiwidgetsrendering

What it does

  • SRG-safe render helpers using MCP+SRG reflection fallback, so it works under RetroFuturaBootstrap
  • Widget set covering buttons, toggle and icon buttons, labels, sliders, dropdowns, scroll panes, text fields, draggable widgets and collapsible panels
  • Seven built-in themes, default, lotr, dark, light, dwarven, elven and orcish, with runtime registration for custom ones
  • Map overlay API with a registry and viewport, bridged to LOTRGuiMap through static adapter methods
  • Faction banner rendering that resolves the primary banner for any LOTRFaction and crops the 64x128 texture to a square icon, submod factions included
  • Used by Claims Overhaul, Conquest Overhaul and the LOTR Races mod

Install

  1. Place LotrGuiLib.jar in mods/.
  2. Add dependencies = "required-after:lotrguilib" to your submod's @Mod annotation.
  3. Installing it alone is harmless and does nothing visible.

Reporting

Open an issue with screenshots, the exact jar version and the part of the log where it breaks. Not sure it's a bug? Ask on Discord first.

Credits

Written against the LOTR Mod's public classes; redistributes no third-party code.

Support me

This mod is free and always will be.

Other projects