fantomitechno / Emotes

Mod to use Emotes on servers
MIT License
1 stars 1 forks source link

Posibility to disable Suggestions #4

Closed xela-the-proto closed 3 months ago

xela-the-proto commented 3 months ago
public void render(GuiGraphics matrixStack) {
        if (this.suggestions != null && **ModConfig.INSTANCE.show_suggestions**) {
            this.suggestions.render(matrixStack);
        }
        checkTextUpdate();
    }

plus whatever needs to be put in the file that geenrates the config

fantomitechno commented 3 months ago

It will probably become a non temporary config because it can be very useful... tho idk if the client disable it or the server do or the two can

xela-the-proto commented 3 months ago

tbh i tried writing it myself but i couldnt figure out how to make it generate the config with the new attribute too rusty in java

fantomitechno commented 3 months ago

yeah I use a lib documented but not used on Fabric so it's probably the easiest to find, don't worry, I'll do it like Tuesday or later + it'll probably need a config screen

fantomitechno commented 3 months ago

Next commit will add this!

fantomitechno commented 3 months ago

42b2303

fantomitechno commented 3 months ago

will be in next release after fixes of #3