Skip to content
dooji2 edited this page Dec 27, 2024 · 12 revisions

Omnilib

Omnilib is a framework for enhanced UI elements and customization, built for Minecraft Fabric 1.19.2, 1.20.1, 1.20.4, 1.21, 1.21.1, 1.21.2 and 1.21.3. This wiki helps you understand how to use it in your mod.

Note

Forge support is being developed for 1.12.2 and 1.20.1. NeoForge support is being developed for 1.21 and 1.21.1. Completion date is unknown.

Note

Omnilib prioritizes backwards compatibility. Unless stated otherwise, updating to a newer version should always be safe.

Important

Omnilib is currently undergoing a few major changes that introduce several new components or change old behavior. As of version 0.1.2, not all changes are implemented yet. Documentation is still being updated, so things might be incomplete for now. Please be patient!

Features

  • OmniToast: Customizable toast notifications with optional textures and item icons.
  • OmniTooltip: Tooltips with custom icons, backgrounds, and multi-line text support.
  • OmniText: Text rendering with support for embedded icons.
  • OmniPopup: Dynamic, scrollable suggestion popups.
  • OmniField: Customizable text fields.
  • OmniButton: Customizable buttons.

Tip

For examples and detailed usage, check out the Usage Guides page.

Useful Links

Caution

As of January 3rd 2025, this wiki is deprecated. Consider joining the Discord server for help or wait for the new wiki to come out (which is pretty soon as it's almost ready!)

Clone this wiki locally