Interface HudElement
public interface HudElement
Represents a mod added
InGameHud
element that can be rendered on the screen.
HUD elements should be registered using HudElementRegistry
-
Method Summary
Modifier and TypeMethodDescriptionvoid
render
(DrawContext context, RenderTickCounter tickCounter) Renders the HUD element.
-
Method Details
-
render
Renders the HUD element.- Parameters:
context
- theDrawContext
used for renderingtickCounter
- theRenderTickCounter
providing timing information
-