Class ScreenEvent.MouseButtonReleased

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.client.event.ScreenEvent
net.neoforged.neoforge.client.event.ScreenEvent.MouseInput
net.neoforged.neoforge.client.event.ScreenEvent.MouseButtonReleased
Direct Known Subclasses:
ScreenEvent.MouseButtonReleased.Post, ScreenEvent.MouseButtonReleased.Pre
Enclosing class:
ScreenEvent

public abstract static class ScreenEvent.MouseButtonReleased extends ScreenEvent.MouseInput
Fired when a mouse button is released. See the two subclasses for listening before and after the normal handling.
See Also:
  • Field Details

    • button

      private final int button
  • Constructor Details

    • MouseButtonReleased

      @Internal public MouseButtonReleased(Screen screen, double mouseX, double mouseY, int button)
  • Method Details

    • getButton

      public int getButton()
      Returns the mouse button's input code.
      Returns:
      the mouse button's input code
      See Also: