Class ContainerScreenEvent.Render.Background

java.lang.Object
net.neoforged.bus.api.Event
Enclosing class:
ContainerScreenEvent.Render

@Deprecated(forRemoval=true, since="1.21.7") public static class ContainerScreenEvent.Render.Background extends ContainerScreenEvent.Render
Deprecated, for removal: This API element is subject to removal in a future version.
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

invalid reference
cancellable
, and does not
invalid reference
have a result
.

This event is fired on the main Forge event bus, only on the logical client.

  • Constructor Details

    • Background

      @Internal public Background(AbstractContainerScreen<?> guiContainer, GuiGraphics guiGraphics, int mouseX, int mouseY)
      Deprecated, for removal: This API element is subject to removal in a future version.