Interface ClientGuiEvent.ContainerScreenRenderForeground
- Enclosing interface:
- ClientGuiEvent
@Environment(CLIENT)
public static interface ClientGuiEvent.ContainerScreenRenderForeground
-
Method Summary
Modifier and TypeMethodDescriptionvoidrender(net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<?> screen, com.mojang.blaze3d.vertex.PoseStack matrices, int mouseX, int mouseY, float delta) Invoked after a screen has finished rendering most of the foreground, but before any floating widgets are rendered.
-
Method Details
-
render
void render(net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<?> screen, com.mojang.blaze3d.vertex.PoseStack matrices, int mouseX, int mouseY, float delta) Invoked after a screen has finished rendering most of the foreground, but before any floating widgets are rendered. Equivalent to Forge'sContainerScreenEvent.DrawForegroundevent.- 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.
-