
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
2.4K
3
Список изменений
- 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
StringContaineris 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
Метаданные
Канал релиза
Release
Номер версии
1.0.4+fabric
Загрузчики
FabricQuilt
Версии игры
1.20–1.20.4
Загрузок
204
Дата публикации
2 г. назад
