Package net.minecraftforge.client.event
Class RenderGuiOverlayEvent.Pre
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderGuiOverlayEvent
net.minecraftforge.client.event.RenderGuiOverlayEvent.Pre
- Enclosing class:
- RenderGuiOverlayEvent
Fired before a GUI overlay is rendered to the screen.
This event is cancellable, and does not have a result.
If this event is cancelled, then the overlay will not be rendered, and the corresponding RenderGuiOverlayEvent.Post
event will
not be fired.
This event is fired on the main Forge event bus, only on the logical client.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.RenderGuiOverlayEvent
RenderGuiOverlayEvent.Post, RenderGuiOverlayEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionPre
(Window window, PoseStack poseStack, float partialTick, NamedGuiOverlay overlay) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.RenderGuiOverlayEvent
getOverlay, getPartialTick, getPoseStack, getWindow
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Pre
@Internal public Pre(Window window, PoseStack poseStack, float partialTick, NamedGuiOverlay overlay)
-