Interface ClientGuiEvent.ScreenRenderPost

Enclosing interface:
ClientGuiEvent

@Environment(CLIENT) public static interface ClientGuiEvent.ScreenRenderPost
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    render(net.minecraft.client.gui.screens.Screen screen, com.mojang.blaze3d.vertex.PoseStack matrices, int mouseX, int mouseY, float delta)
    Invoked after a screen has finished rendering using the vanilla logic.
  • Method Details

    • render

      void render(net.minecraft.client.gui.screens.Screen screen, com.mojang.blaze3d.vertex.PoseStack matrices, int mouseX, int mouseY, float delta)
      Invoked after a screen has finished rendering using the vanilla logic. Equivalent to Forge's GuiScreenEvent.DrawScreenEvent.Post event.
      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.