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
-
Constructor Summary
ModifierConstructorDescriptionprotected
RenderGuiEvent
(Window window, PoseStack poseStack, 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
-
poseStack
-
partialTick
private final float partialTick
-
-
Constructor Details
-
RenderGuiEvent
-
-
Method Details
-
getWindow
-
getPoseStack
-
getPartialTick
public float getPartialTick()
-