Atlantis API

Collection of utilities for Forge mods and plugins

File Details

Atlantis 6.9.0

  • R
  • Dec 15, 2024
  • 12.84 MB
  • 185
  • 1.16.5
  • Forge

File Name

Atlantis-1.16.5-6.9.0-universal-all.jar

Supported Versions

  • 1.16.5

Curse Maven Snippet

Forge

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

Learn more about Curse Maven

  • Button.Builder now has deprecated methods which match the method old signatures. This is to enable backwards compatibility with 6.7 Atlantis plugins, and as such, most things should now work again without updates.
  • Added Configurable#contains methods, for checking if collections/arrays of Configurables contain a given object instance, with versions that allow for a custom equality check to be passed as a lambda.
  • Config now handles asynchronous access and puts in a non-insane manner, with a lock, rather than just hoping that the number of operations just lines up. This removes the dangerous while (true) loops that have caused issues in plugins like AquaGTS, will improve performance because of this, and will also work to prevent potential dupes and race conditions as the lock is set to use a fair ordering policy.
  • Fixed the deprecated PageOptions#setTitle having a non-generic argument.
  • Removed ambiguous Message#get method.
  • Added ItemUtils#matches, for comparing an item-like object to collections/arrays of ParsedItemStacks.
  • Added EntityUtils#getPlayersOrElse, for arbitrarily parsing target selectors outside of a command context.
  • Added completion methods to IncompleteString that return Text and ITextComponent.
  • Buttons can now have direct names and lore, which skip Atlantis formatting. This is to allow things like TranslationTextComponents to be used.