Class ScreenEvent.MouseButtonReleased

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
net.minecraftforge.client.event.ScreenEvent.MouseInput
net.minecraftforge.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: