Class ContainerScreenEvent.Render.Background
java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ContainerScreenEvent
net.neoforged.neoforge.client.event.ContainerScreenEvent.Render
net.neoforged.neoforge.client.event.ContainerScreenEvent.Render.Background
- Enclosing class:
ContainerScreenEvent.Render
Fired after the container screen's background layer and elements are drawn.
This can be used for rendering new background elements.
This event is not
, and does not
invalid reference
cancellable
.invalid reference
have a result
This event is fired on the main Forge event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.client.event.ContainerScreenEvent.Render
ContainerScreenEvent.Render.Background, ContainerScreenEvent.Render.Foreground
Nested classes/interfaces inherited from class net.neoforged.neoforge.client.event.ContainerScreenEvent
ContainerScreenEvent.Render
-
Constructor Summary
ConstructorDescriptionBackground
(AbstractContainerScreen<?> guiContainer, GuiGraphics guiGraphics, int mouseX, int mouseY) -
Method Summary
Methods inherited from class net.neoforged.neoforge.client.event.ContainerScreenEvent.Render
getGuiGraphics, getMouseX, getMouseY
Methods inherited from class net.neoforged.neoforge.client.event.ContainerScreenEvent
getContainerScreen
-
Constructor Details
-
Background
@Internal public Background(AbstractContainerScreen<?> guiContainer, GuiGraphics guiGraphics, int mouseX, int mouseY)
-