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 TypeMethodDescriptionvoidrender(DrawContext context, RenderTickCounter tickCounter) Renders the HUD element.
-
Method Details
-
render
Renders the HUD element.- Parameters:
context- theDrawContextused for renderingtickCounter- theRenderTickCounterproviding timing information
-