TerraformersMC / ModMenu

A menu for, you guessed it, mods!
MIT License
492 stars 150 forks source link

Make the little diamond appear on the mods button only when there are updates available for some mods #603

Closed Blayung closed 1 year ago

haykam821 commented 1 year ago

Are you asking for configuration to only check for updates on a certain set of mods, rather than all loaded mods?

Blayung commented 1 year ago

Nope. Idk if it's intended, but for me the litte diamond appears no matter if I've got any updates available or not.

Blayung commented 1 year ago

Alright, I think it should be a bug report rather than an enhancement request. I see that you have already tried to make it work this way:

if (ModMenuConfig.BUTTON_UPDATE_BADGE.getValue() && ModMenu.modUpdateAvailable) {
    UpdateAvailableBadge.renderBadge(DrawContext, this.width + this.getX() - 16, this.height / 2 + this.getY() - 4);
}

(&& ModMenu.modUpdateAvailable)

LostLuma commented 1 year ago

You might not see which mod has an update as it's either hidden due to being a library and you having that setting on, or it's in one of the dropdowns from being marked as a parent of another mod. If you can't find it this way you can also look in your Minecraft log, it will have one or more lines like this: Update available for 'dynamicfps@2.3.0', (-> 2.4.0)

Blayung commented 1 year ago

Oh, well. It does not appear now! Whatever.