Interface GuiEvent.ScreenRenderPre
- Enclosing interface:
 - GuiEvent
 
@Environment(CLIENT)
public static interface GuiEvent.ScreenRenderPre
- 
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.InteractionResultrender(net.minecraft.client.gui.screens.Screen screen, com.mojang.blaze3d.vertex.PoseStack matrices, int mouseX, int mouseY, float delta) Invoked before any screen is rendered. 
- 
Method Details
- 
render
net.minecraft.world.InteractionResult render(net.minecraft.client.gui.screens.Screen screen, com.mojang.blaze3d.vertex.PoseStack matrices, int mouseX, int mouseY, float delta) Invoked before any screen is rendered. Equivalent to Forge'sGuiScreenEvent.DrawScreenEvent.Preevent.- Parameters:
 screen- The screen.matrices- The pose stack.mouseX- The scaled x-coordinate of the mouse cursor.mouseY- The scaled y-coordinate of the mouse cursor.delta- The current tick delta.- Returns:
 - Returning 
InteractionResult.FAILprevents any other rendering. 
 
 -