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.EventEvent class for handling GuiContainer specific events.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGuiContainerEvent.DrawBackgroundThis event is fired directly after the GuiContainer has draw any background elements, This is useful for drawing new background elements.static classGuiContainerEvent.DrawForegroundThis 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 ContainerScreenguiContainer
-
Constructor Summary
Constructors Constructor Description GuiContainerEvent(ContainerScreen guiContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerScreengetGuiContainer()
-
-
-
Field Detail
-
guiContainer
private final ContainerScreen guiContainer
-
-
Constructor Detail
-
GuiContainerEvent
public GuiContainerEvent(ContainerScreen guiContainer)
-
-
Method Detail
-
getGuiContainer
public ContainerScreen getGuiContainer()
-
-