类 RenderGuiEvent.Pre

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RenderGuiEvent
net.minecraftforge.client.event.RenderGuiEvent.Pre
封闭类:
RenderGuiEvent

public static class RenderGuiEvent.Pre extends RenderGuiEvent
Fired before the HUD is rendered to the screen.

This event is cancellable, and does not have a result. If this event is cancelled, then the overlay will not be rendered, and the corresponding RenderGuiEvent.Post event will not be fired.

This event is fired on the main Forge event bus, only on the logical client.

另请参阅:
  • 构造器详细资料

    • Pre

      @Internal public Pre(Window window, GuiGraphics guiGraphics, float partialTick)