Interface IDebugInfoProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IDebugInfoProvider
  • Method Summary

    Modifier and Type
    Method
    Description
    getDebugInfo(Minecraft mc, boolean isExtendedDebug)
    Provides a string for the debug screen.
  • Method Details

    • getDebugInfo

      Optional<String> getDebugInfo(Minecraft mc, boolean isExtendedDebug)
      Provides a string for the debug screen.
      Parameters:
      mc - The Minecraft instance.
      isExtendedDebug - Whether extended debug info is enabled.
      Returns:
      An Optional containing the string to display. Use Optional.empty() to display nothing. Use '\n' for multi-line entries.