Package api.client.debug
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.
-
Method Summary
Modifier and TypeMethodDescriptiongetDebugInfo(Minecraft mc, boolean isExtendedDebug) Provides a string for the debug screen.
-
Method Details
-
getDebugInfo
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.
-