Package net.minecraftforge.client.event
Class ContainerScreenEvent.Render.Foreground
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ContainerScreenEvent
net.minecraftforge.client.event.ContainerScreenEvent.Render
net.minecraftforge.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 cancellable, and does not 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.minecraftforge.client.event.ContainerScreenEvent.Render
ContainerScreenEvent.Render.Background, ContainerScreenEvent.Render.Foreground
Nested classes/interfaces inherited from class net.minecraftforge.client.event.ContainerScreenEvent
ContainerScreenEvent.Render
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
ConstructorDescriptionForeground
(AbstractContainerScreen<?> guiContainer, GuiGraphics guiGraphics, int mouseX, int mouseY) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.ContainerScreenEvent.Render
getGuiGraphics, getMouseX, getMouseY
Methods inherited from class net.minecraftforge.client.event.ContainerScreenEvent
getContainerScreen
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
Foreground
@Internal public Foreground(AbstractContainerScreen<?> guiContainer, GuiGraphics guiGraphics, int mouseX, int mouseY)
-