Class WindowResizeEvent

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.WindowResizeEvent

public class WindowResizeEvent extends net.neoforged.bus.api.Event
Fired when the Minecraft window is resizing, including GUI scale changes, game switches fullscreen mode, and the unicode font option is changed.
See Also:
  • Field Details

    • window

      private final Window window
  • Constructor Details

  • Method Details

    • getWindow

      public Window getWindow()
      Returns the window.
      Returns:
      the window