Class ContainerScreenEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ContainerScreenEvent
Direct Known Subclasses:
ContainerScreenEvent.Render

public abstract class ContainerScreenEvent extends net.minecraftforge.eventbus.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