类 ScreenEvent.MouseScrolled

java.lang.Object
net.minecraftforge.eventbus.api.Event
直接已知子类:
ScreenEvent.MouseScrolled.Post, ScreenEvent.MouseScrolled.Pre
封闭类:
ScreenEvent

public abstract static class ScreenEvent.MouseScrolled extends ScreenEvent.MouseInput
Fired when the mouse was dragged while a button is being held down. See the two subclasses for listening before and after the normal handling.
另请参阅:
  • 字段详细资料

    • scrollDelta

      private final double scrollDelta
  • 构造器详细资料

    • MouseScrolled

      @Internal public MouseScrolled(Screen screen, double mouseX, double mouseY, double scrollDelta)
  • 方法详细资料

    • getScrollDelta

      public double getScrollDelta()
      返回 the amount of change / delta of the mouse scroll。
      返回:
      the amount of change / delta of the mouse scroll