Class ScreenEvent.Render.Background
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ScreenEvent
net.neoforged.neoforge.client.event.ScreenEvent.Render
net.neoforged.neoforge.client.event.ScreenEvent.Render.Background
- Enclosing class:
ScreenEvent.Render
Fired after the screen's renderBackground and before its render method.
This can be used for rendering elements that must be below tooltips and the dragged stack, such as slot or item stack specific overlays.
This event is not cancellable.
This event is fired on the game event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.client.event.ScreenEvent.Render
ScreenEvent.Render.Background, ScreenEvent.Render.Post, ScreenEvent.Render.Pre
Nested classes/interfaces inherited from class net.neoforged.neoforge.client.event.ScreenEvent
ScreenEvent.CharacterTyped, ScreenEvent.Closing, ScreenEvent.Init, ScreenEvent.KeyPressed, ScreenEvent.KeyReleased, ScreenEvent.MouseButtonPressed, ScreenEvent.MouseButtonReleased, ScreenEvent.MouseDragged, ScreenEvent.MouseScrolled, ScreenEvent.Opening, ScreenEvent.Render, ScreenEvent.RenderInventoryMobEffects
-
Constructor Summary
ConstructorsConstructorDescriptionBackground
(Screen screen, GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick) -
Method Summary
Methods inherited from class net.neoforged.neoforge.client.event.ScreenEvent.Render
getGuiGraphics, getMouseX, getMouseY, getPartialTick
Methods inherited from class net.neoforged.neoforge.client.event.ScreenEvent
getScreen
-
Constructor Details
-
Background
@Internal public Background(Screen screen, GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
-