Class TextStatsEntrypoint

java.lang.Object
io.github.zhengzhengyiyi.addon.TextStatsEntrypoint
All Implemented Interfaces:
ApiEntrypoint

public class TextStatsEntrypoint extends Object implements ApiEntrypoint
  • Constructor Details

    • TextStatsEntrypoint

      public TextStatsEntrypoint()
  • Method Details

    • init

      public void init()
      Description copied from interface: ApiEntrypoint
      Initializes the API entry point. This method is called by the config editor mod during its initialization phase. It is the only required method to be implemented.
      Specified by:
      init in interface ApiEntrypoint
    • onEditerOpen

      public void onEditerOpen(EditorScreen editor)
      Description copied from interface: ApiEntrypoint
      Called when the editor screen is opened.
      Specified by:
      onEditerOpen in interface ApiEntrypoint
      Parameters:
      editor - The instance of the EditorScreen.
    • renderButton

      public void renderButton(net.minecraft.client.gui.DrawContext context, int mouseX, int mouseY, float delta)
      Description copied from interface: ApiEntrypoint
      Called to render custom buttons or elements on the screen.
      Specified by:
      renderButton in interface ApiEntrypoint
      Parameters:
      context - The draw context used for rendering.
      mouseX - The x-coordinate of the mouse cursor.
      mouseY - The y-coordinate of the mouse cursor.
      delta - The partial ticks for smooth rendering.