Package net.minecraftforge.client.event
Class ContainerScreenEvent.Render.Background
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.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 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
ConstructorDescriptionBackground
(AbstractContainerScreen<?> guiContainer, PoseStack poseStack, int mouseX, int mouseY) -
Method Summary
Methods inherited from class net.minecraftforge.client.event.ContainerScreenEvent.Render
getMouseX, getMouseY, getPoseStack
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
-
Background
@Internal public Background(AbstractContainerScreen<?> guiContainer, PoseStack poseStack, int mouseX, int mouseY)
-