promotional bannermobile promotional banner

Suggestions API

API for working with Minecraft suggestions. It allows you to add suggestions with the possibility of changing their rendering. Using this library, you can add them both statically and dynamically
Back to Files

Suggestions API 1.0.3+1.20-1.20.4

File namesuggestions-api-1.0.3+1.20-1.20.4.jar
Uploader
aratakileoaratakileo
Uploaded
Jan 10, 2024
Downloads
167
Size
51.0 KB
Mod Loaders
FabricQuilt
File ID
5022245
Type
R
Release
Supported game versions
  • 1.20.2-Snapshot
  • 1.20.3-Snapshot
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1
  • 1.20

Curse Maven Snippet

Fabric

modImplementation "curse.maven:suggestions-api-960441:5022245"

Quilt

modImplementation "curse.maven:suggestions-api-960441:5022245"

Learn more about Curse Maven

What's new

  • new parameter IconSuggestion#isIconOnLeft
  • new Injector InjectorListener that let listen events: onSessionInited (by InjectorListener#onSessionInited(...)), onSuggestionSelected (by InjectorListener#onSuggestionSelected(...))
  • move SuggestionsAPI#registerSuggestionsInjector(...) to SuggestionsAPI#registerInjector(...)
  • move SuggestionsAPI#addResourceDependedSuggestionsContainer(...) to SuggestionsAPI#addResourceDependedContainer(...)
  • code structure has been refactored

Full Changelog: https://github.com/aratakileo/suggestions-api/compare/v1.0.2...v1.0.3

This mod has no additional files