Releases: aratakileo/suggestions-api
Releases · aratakileo/suggestions-api
v1.0.6
v1.0.5
v1.0.4
What's new?
- 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: v1.0.3...v1.0.4
v1.0.3
What's new?
- new parameter
IconSuggestion#isIconOnLeft
- new Injector
InjectorListener
that let listen events: onSessionInited (byInjectorListener#onSessionInited(...)
), onSuggestionSelected (byInjectorListener#onSuggestionSelected(...)
) - move
SuggestionsAPI#registerSuggestionsInjector(...)
toSuggestionsAPI#registerInjector(...)
- move
SuggestionsAPI#addResourceDependedSuggestionsContainer(...)
toSuggestionsAPI#addResourceDependedContainer(...)
- code structure has been refactored
Full Changelog: v1.0.2...v1.0.3
v1.0.2
v1.0.1
Redesigned interface for asynchronous injector. All the logic of asynchrony has been moved from it to another place
v1.0.0
First release