Package net.minecraftforge.client.event
Class RenderGuiEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderGuiEvent
- Direct Known Subclasses:
RenderGuiEvent.Post
,RenderGuiEvent.Pre
public abstract class RenderGuiEvent
extends net.minecraftforge.eventbus.api.Event
Fired when the HUD is rendered to the screen.
See the two subclasses for listening to the two possible phases.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired after the HUD is rendered to the screen, if the correspondingRenderGuiEvent.Pre
is not cancelled.static class
Fired before the HUD is rendered to the screen.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Modifier and TypeFieldDescriptionprivate final GuiGraphics
private final float
private final Window
-
Constructor Summary
ModifierConstructorDescriptionprotected
RenderGuiEvent
(Window window, GuiGraphics guiGraphics, float partialTick) -
Method Summary
Modifier and TypeMethodDescriptionfloat
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
window
-
guiGraphics
-
partialTick
private final float partialTick
-
-
Constructor Details
-
RenderGuiEvent
-
-
Method Details
-
getWindow
-
getGuiGraphics
-
getPartialTick
public float getPartialTick()
-