Interface ScreenMouseEvents.AfterMouseScroll

Enclosing class:
ScreenMouseEvents
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Environment(CLIENT) @FunctionalInterface public static interface ScreenMouseEvents.AfterMouseScroll
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterMouseScroll​(net.minecraft.client.gui.screen.Screen screen, double mouseX, double mouseY, double horizontalAmount, double verticalAmount)
    Called after a mouse has scrolled on screen.
  • Method Details

    • afterMouseScroll

      void afterMouseScroll(net.minecraft.client.gui.screen.Screen screen, double mouseX, double mouseY, double horizontalAmount, double verticalAmount)
      Called after a mouse has scrolled on screen.
      Parameters:
      mouseX - the x position of the mouse
      mouseY - the y position of the mouse
      horizontalAmount - the horizontal scroll amount
      verticalAmount - the vertical scroll amount