Package net.minecraftforge.client.event
Class GuiContainerEvent
- java.lang.Object
-
- net.minecraftforge.eventbus.api.Event
-
- net.minecraftforge.client.event.GuiContainerEvent
-
- Direct Known Subclasses:
GuiContainerEvent.DrawBackground
,GuiContainerEvent.DrawForeground
public class GuiContainerEvent extends net.minecraftforge.eventbus.api.Event
Event class for handling GuiContainer specific events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GuiContainerEvent.DrawBackground
This event is fired directly after the GuiContainer has draw any background elements, This is useful for drawing new background elements.static class
GuiContainerEvent.DrawForeground
This event is fired directly after the GuiContainer has draw any foreground elements, But before the "dragged" stack, and before any tooltips.
-
Field Summary
Fields Modifier and Type Field Description private ContainerScreen
guiContainer
-
Constructor Summary
Constructors Constructor Description GuiContainerEvent(ContainerScreen guiContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerScreen
getGuiContainer()
-
-
-
Field Detail
-
guiContainer
private final ContainerScreen guiContainer
-
-
Constructor Detail
-
GuiContainerEvent
public GuiContainerEvent(ContainerScreen guiContainer)
-
-
Method Detail
-
getGuiContainer
public ContainerScreen getGuiContainer()
-
-