Class InputEvent.MouseScrollEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.InputEvent
net.minecraftforge.client.event.InputEvent.MouseScrollEvent
Enclosing class:
InputEvent

public static class InputEvent.MouseScrollEvent extends InputEvent
This event fires when the mouse scroll wheel is used outside of a gui.
  • Field Details

    • scrollDelta

      private final double scrollDelta
    • mouseX

      private final double mouseX
    • mouseY

      private final double mouseY
    • leftDown

      private final boolean leftDown
    • middleDown

      private final boolean middleDown
    • rightDown

      private final boolean rightDown
  • Constructor Details

    • MouseScrollEvent

      public MouseScrollEvent(double scrollDelta, boolean leftDown, boolean middleDown, boolean rightDown, double mouseX, double mouseY)
  • Method Details

    • getScrollDelta

      public double getScrollDelta()
    • isLeftDown

      public boolean isLeftDown()
    • isRightDown

      public boolean isRightDown()
    • isMiddleDown

      public boolean isMiddleDown()
    • getMouseX

      public double getMouseX()
    • getMouseY

      public double getMouseY()