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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired every time anAbstractContainerScreen
renders. -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ContainerScreenEvent
(AbstractContainerScreen<?> containerScreen) -
Method Summary
Modifier and TypeMethodDescriptionReturns the container screen.
-
Field Details
-
containerScreen
-
-
Constructor Details
-
ContainerScreenEvent
-
-
Method Details
-
getContainerScreen
Returns the container screen.- Returns:
- the container screen
-