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 
    This event is fired directly after the GuiContainer has draw any background elements, This is useful for drawing new background elements.
    static class 
    This event is fired directly after the GuiContainer has draw any foreground elements, But before the "dragged" stack, and before any tooltips.

    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

    Fields
    Modifier and Type
    Field
    Description
    private final ContainerScreen
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • GuiContainerEvent

      public GuiContainerEvent(ContainerScreen guiContainer)
  • Method Details