Class ContainerScreenEvent.Render.Foreground
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.Foreground
- Enclosing class:
- ContainerScreenEvent.Render
Fired after the container screen's foreground layer and elements are drawn, but
 before rendering the tooltips and the item stack being dragged by the player.
 
This can be used for rendering elements that must be above other screen elements, but below tooltips and the dragged stack, such as slot or item stack specific overlays.
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 SummaryNested classes/interfaces inherited from class net.neoforged.neoforge.client.event.ContainerScreenEvent.RenderContainerScreenEvent.Render.Background, ContainerScreenEvent.Render.ForegroundNested classes/interfaces inherited from class net.neoforged.neoforge.client.event.ContainerScreenEventContainerScreenEvent.Render
- 
Constructor SummaryConstructorsConstructorDescriptionForeground(AbstractContainerScreen<?> guiContainer, GuiGraphics guiGraphics, int mouseX, int mouseY) 
- 
Method SummaryMethods inherited from class net.neoforged.neoforge.client.event.ContainerScreenEvent.RendergetGuiGraphics, getMouseX, getMouseYMethods inherited from class net.neoforged.neoforge.client.event.ContainerScreenEventgetContainerScreen
- 
Constructor Details- 
Foreground@Internal public Foreground(AbstractContainerScreen<?> guiContainer, GuiGraphics guiGraphics, int mouseX, int mouseY) 
 
-