Class ScreenEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
Direct Known Subclasses:
ScreenEvent.BackgroundDrawnEvent, ScreenEvent.DrawScreenEvent, ScreenEvent.InitScreenEvent, ScreenEvent.KeyboardCharTypedEvent, ScreenEvent.KeyboardKeyEvent, ScreenEvent.MouseInputEvent, ScreenEvent.PotionShiftEvent, ScreenEvent.PotionSizeEvent

public class ScreenEvent extends net.minecraftforge.eventbus.api.Event
Event classes for GuiScreen events.
Author:
bspkrs
  • Field Details

    • screen

      private final Screen screen
  • Constructor Details

    • ScreenEvent

      public ScreenEvent(Screen screen)
  • Method Details

    • getScreen

      public Screen getScreen()
      The GuiScreen object generating this event.