promotional bannermobile promotional banner

GooeyLibs

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

GooeyLibs 1.12.2 - 2.1.0

File nameGooeyLibs-2.1.0.jar
Uploader
landonjw_landonjw_
Uploaded
May 24, 2021
Downloads
1.3K
Size
77.1 KB
Mod Loaders
Forge
File ID
3321408
Type
R
Release
Supported game versions
  • 1.12.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:gooeylibs-359996:3321408")

Learn more about Curse Maven

What's new

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.

This mod has no additional files