Atlantis API

Collection of utilities for Forge mods and plugins

File Details

Atlantis 6.8.1

  • R
  • Nov 12, 2024
  • 12.83 MB
  • 7.4K
  • 1.16.5
  • Forge

File Name

Atlantis-1.16.5-6.8.1-universal-all.jar

Supported Versions

  • 1.16.5

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:atlantis-api-316395:5896161")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

  • 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.