Wiki 9Minecraft Iceberg Library Wiki

Iceberg Library — Guide

Mechanics & Technical Features

Iceberg Library provides several core mechanics that function behind the scenes to enhance the gameplay experience through other mods.

Custom Tooltip Rendering

Iceberg includes a specialized rendering engine for item tooltips. This allows mods like Legendary Tooltips to display unique borders, backgrounds, and animated effects around item descriptions. It handles the complex math required to scale and position these elements correctly regardless of the screen resolution or GUI scale.

Configuration System

The library features a fully-contained configuration system. This allows dependent mods to save and load user settings without requiring additional third-party config libraries. It supports dynamic reloading, meaning many changes made to a mod's config file can take effect instantly without restarting the game.

Event Handling

For developers, Iceberg adds several loader-agnostic events. These events allow mods to trigger actions during specific game moments (such as when a tooltip is about to be rendered or when a player opens a specific menu) without needing to write separate code for Forge and Fabric.