Package net.minecraftforge.client.event
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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired every time anAbstractContainerScreen
renders.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ContainerScreenEvent
(AbstractContainerScreen<?> containerScreen) -
Method Summary
Modifier and TypeMethodDescriptionReturns the container screen.Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
containerScreen
-
-
Constructor Details
-
ContainerScreenEvent
-
-
Method Details
-
getContainerScreen
Returns the container screen.- Returns:
- the container screen
-