GooeyLibs

A collection of useful tools for developers to create user interfaces in Forge.

File Details

GooeyLibs 1.12.2 - 2.1.0

  • R
  • May 24, 2021
  • 77.14 KB
  • 1.3K
  • 1.12.2
  • Forge

File Name

GooeyLibs-2.1.0.jar

Supported Versions

  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:gooeylibs-359996:3321408")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Changes:

  • Added all convenience methods from template builders to templates themselves.

        This should make template updates after initialization easier and cleaner.

  • Added a clear method to all template implementations.

        This removes all buttons from the template.

  • Made fill method behavior consistent among all templates.

        Fills all slots that are currently empty.

  • Added convenience methods to relevant templates for making layouts from lists of buttons.

        These methods are appended with fromList. For example, ChestTemplate#row -> ChestTemplate#rowFromList.

  • Added InventoryHelper to assist in making player inventory changes that reflect in Pages.
  • Added more context methods to ButtonAction to see if slot clicked is in player inventory, and getting the clicked slot in inventory template.