Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Suggestions API

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

1,929
3
Library
Social

Compatibility

Minecraft: Java Edition

1.20–1.20.4

Platforms

Fabric
Forge
NeoForge
Quilt

Supported environments

Client-side

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source Join Discord server

Creators

aratakileo
aratakileo Owner

Details

Licensed LGPL-3.0-only
Published last year
Updated last year
DescriptionGalleryChangelogVersions

Show all versions

Suggestions API 1.0.6+1.20-1.20.4-forge

by aratakileo on Feb 21, 2024
Download

Suggestions API 1.0.6+1.20-1.20.4-fabric

by aratakileo on Feb 21, 2024
Download

Critical bug fix

Suggestions API 1.0.5+1.20-1.20.4-forge

by aratakileo on Feb 17, 2024
Download

Suggestions API 1.0.5+1.20-1.20.4-fabric

by aratakileo on Feb 17, 2024
Download

What's Changed

  • Fix freeze when typing certain commands #37 #3

[Full Changelog v1.0.4...v1.0.5]

Suggestions API 1.0.4+1.20-1.20.4-forge

by aratakileo on Jan 29, 2024
Download
  • port to Forge and Neoforge

Suggestions API 1.0.4+1.20-1.20.4

by aratakileo on Jan 23, 2024
Download
  • extended documentation
  • fixed a Minecraft bug related to duplicate invocation of injectors
  • now, inside the injectors associated with entering text into the input field in the method responsible for generating new suggestions, a StringContainer is passed as an argument, which contains more detailed information about the current context (full text from the input field, cursor position, whether a command is being entered, etc.)
  • now, by default, you can add suggestions regardless of the context (whether the player is currently entering a command or not)
  • implicit replacement of other suggestions is now prohibited. Instead, it is allowed to replace suggestions added outside of the Suggestions API using ReplacementInjector
  • the core has been rebuilt

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

Suggestions API 1.0.3+1.20-1.20.4

by aratakileo on Jan 3, 2024
Download
  • 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

Suggestions API 1.0.2+1.20-1.20.1

by aratakileo on Nov 27, 2023
Download
  • multiplayer crash fix #1
  • refactored from SuggestionsAPI#registerResourceDependedInjector to SuggestionsAPI#addResourceDependedSuggestionsContainer
  • now, by default, the mechanism for ignoring nested suggestions is enabled for each injector
  • other small changes

Suggestions API 1.0.1+1.20-1.20.1

by aratakileo on Sep 12, 2023
Download

Redesigned interface for asynchronous injector. All the logic of asynchrony has been moved from it to another place

Suggestions API 1.0.0+1.20-1.20.1

by aratakileo on Sep 1, 2023
Download

First release

Modrinth is open source.

feat/theseus/tauri-v2@c5403db

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.