registerGuiDrawBackground

open fun registerGuiDrawBackground(method: Any): EventTrigger

Registers a new trigger that runs before the gui background is drawn This is useful for drawing custom backgrounds.

Passes through one argument:

  • The net.minecraft.client.gui.GuiScreen that is being drawn

Sources

Link copied to clipboard