Atlantis 6.8.1
Curse Maven Snippet
What's new
- Added new Button builder methods:
- Button.Builder#prevPage: shortcut for a click action that decrements the current page of the button's group.
- Button.Builder#nextPage: shortcut for a click action that increments the current page of the button's group.
- Button.Builder#tooltip: sets the Pixelmon shift tooltip to use.
- Button.Builder#blankLoreLine: shortcut for adding a blank lore line.
- Button.Builder#doIf: allows for optional builder calls based on a given boolean value/supplier.
- The Buttons object for open pages are now exposed to ClickState objects they emit.
- ClickState now knows of its parent ClickData.
- Added various map-like operations to ButtonUpdateTask for access/mutation of its value store.
- Added various Supplier-based operations to ButtonUpdateTask.
- Fixed StackOverflowException during Text construction.
- Methods which open pages in PlayerReference and ClickData now have overloads that accept an instance of Buttons, for page permanence purposes.
- Added Text#compileWithEvent and Text#compileWithEvents methods, for making text components with click/hover events attached to them.
- Added TextUtilsapplyClickEvent and TextUtilsapplyHoverEvent.
- Button update tasks now no longer throw ConcurrentModificationExceptions sometimes, meaning they are now synchronized to one another.
- Button update tasks are now only invoked on visible buttons.
- Fixed full button details not being sent to players on initial page viewings.
This mod has no additional files

