Interface ClientGuiEvent.DebugText

Enclosing interface:
ClientGuiEvent

@Environment(CLIENT) public static interface ClientGuiEvent.DebugText
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked when the debug text is being gathered for rendering.
  • Method Details

    • gatherText

      void gatherText(List<String> strings)
      Invoked when the debug text is being gathered for rendering. There are two different versions of this event, one for the left and one for the right side. Equivalent to Forge's RenderGameOverlayEvent.Text, when Minecraft.getInstance().options.renderDebug is true.
      Parameters:
      strings - The current debug text strings.