Class ContainerScreenEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ContainerScreenEvent
Direct Known Subclasses:
ContainerScreenEvent.Render

public abstract class ContainerScreenEvent extends net.neoforged.bus.api.Event
Fired for hooking into AbstractContainerScreen events. See the subclasses to listen for specific events.

These events are fired on the main Forge event bus, only on the logical client.

See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • getContainerScreen

      public AbstractContainerScreen<?> getContainerScreen()
      Returns the container screen.
      Returns:
      the container screen