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

Suggestions API

To learn more about how to use this library, you can check [Getting started & Quick docs].

This library is injected into the Minecraft source code, which is responsible for the logic of Minecraft suggestions in chat, in order to provide a more convenient wrapper for adding or changing suggestions. Currently, the library contains interfaces for:

  • adding suggestions synchronous/asynchronous based on the text entered by the user in the text input field
  • changing suggestions render
  • processing events related to suggestions (on session inited, on suggestion selected)

for which the library provides ready-made implementations in the form of:

  • always shown suggestion (texted suggestion with condition to always show it)
  • simple suggestion (texted suggestion with default or custom showing condition)
  • icon suggestion (texted suggestion with icon on the left or on the right with default or custom showing condition)
  • synchronous/asynchronous suggestions injector (dynamically adding suggestions when entering text into the input field based on matching the specified pattern of regex)

Which mods use the Suggestions API?

These mods use the Suggestions API: - emogg - JIME

The Suggestions API Team

profile avatar
  • 3
    Followers
  • 4
    Projects
  • 6.0K
    Downloads

More from aratakileo

  • Emogg project image

    Emogg

    • 1.9K
    • Mods

    Adds emoji (emote) support to the chat and to most of the Minecraft interface. New emojis (emotes) can be added by texturepacks

    • 1.9K
    • February 27, 2024
    • Mods
    • +1
  • Elegantia project image

    Elegantia

    • 2.5K
    • Mods

    GUI library for Minecraft and more

    • 2.5K
    • February 27, 2024
    • Mods
    • +1
  • Japanese IME (JIME) project image

    Japanese IME (JIME)

    • 1.2K
    • Mods

    このMODはゲーム内チャットに日本語IMEを追加します。チャットにローマ字を入力することで、漢字とひらがなの変換候補が表示されます。The mod adds an IME for Japanese language to the game. When you enter text in romaji in the chat, the mod will offer you suggestions in kanji and hiragana.

    • 1.2K
    • January 10, 2024
    • Mods
  • Emogg project image

    Emogg

    • 1.9K
    • Mods

    Adds emoji (emote) support to the chat and to most of the Minecraft interface. New emojis (emotes) can be added by texturepacks

    • 1.9K
    • February 27, 2024
    • Mods
    • +1
  • Elegantia project image

    Elegantia

    • 2.5K
    • Mods

    GUI library for Minecraft and more

    • 2.5K
    • February 27, 2024
    • Mods
    • +1
  • Japanese IME (JIME) project image

    Japanese IME (JIME)

    • 1.2K
    • Mods

    このMODはゲーム内チャットに日本語IMEを追加します。チャットにローマ字を入力することで、漢字とひらがなの変換候補が表示されます。The mod adds an IME for Japanese language to the game. When you enter text in romaji in the chat, the mod will offer you suggestions in kanji and hiragana.

    • 1.2K
    • January 10, 2024
    • Mods