Interface HudElement
public interface HudElement
Represents a mod added
Gui element that can be rendered on the screen.
HUD elements should be registered using HudElementRegistry
-
Method Summary
Modifier and TypeMethodDescriptionvoidrender(net.minecraft.client.gui.GuiGraphics context, net.minecraft.client.DeltaTracker tickCounter) Renders the HUD element.
-
Method Details
-
render
void render(net.minecraft.client.gui.GuiGraphics context, net.minecraft.client.DeltaTracker tickCounter) Renders the HUD element.- Parameters:
context- theGuiGraphicsused for renderingtickCounter- theDeltaTrackerproviding timing information
-