Class ModsButton

All Implemented Interfaces:
GuiEventListener, Renderable, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier, IAbstractWidgetExtension

@Internal public class ModsButton extends Button
Custom button subclass to draw an indicator overlay on the button when updates are available.
  • Field Details

    • VERSION_CHECK_ICONS

      private static final ResourceLocation VERSION_CHECK_ICONS
    • showNotification

      @Nullable private net.neoforged.fml.VersionChecker.Status showNotification
    • hasCheckedForUpdates

      private boolean hasCheckedForUpdates
  • Constructor Details

  • Method Details