Interface GuiEvent.ContainerScreenRenderBackground

Enclosing interface:
GuiEvent

@Environment(CLIENT) public static interface GuiEvent.ContainerScreenRenderBackground
  • Method Summary

    Modifier and Type
    Method
    Description
    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 container screen's background 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 container screen's background are rendered. Equivalent to Forge's ContainerScreenEvent.DrawBackground 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.