java.lang.Object
meteordevelopment.meteorclient.systems.modules.Module
meteordevelopment.meteorclient.systems.modules.misc.DiscordPresence
All Implemented Interfaces:
Comparable<Module>, ISerializable<Module>

public class DiscordPresence extends Module
  • Field Details

    • customStates

      public static final List<net.minecraft.util.Pair<String,String>> customStates
  • Constructor Details

    • DiscordPresence

      public DiscordPresence()
  • Method Details

    • registerCustomState

      public static void registerCustomState(String packageName, String state)
      Registers a custom state to be used when the current screen is a class in the specified package.
    • unregisterCustomState

      public static void unregisterCustomState(String packageName)
      The package name must match exactly to the one provided through registerCustomState(String, String).
    • onActivate

      public void onActivate()
      Overrides:
      onActivate in class Module
    • onDeactivate

      public void onDeactivate()
      Overrides:
      onDeactivate in class Module
    • getWidget

      public WWidget getWidget(GuiTheme theme)
      Overrides:
      getWidget in class Module