Interface ScreenMouseEvents.AfterMouseRelease

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.AfterMouseRelease
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterMouseRelease​(net.minecraft.client.gui.screen.Screen screen, double mouseX, double mouseY, int button)
    Called after a mouse click has released in a screen.
  • Method Details

    • afterMouseRelease

      void afterMouseRelease(net.minecraft.client.gui.screen.Screen screen, double mouseX, double mouseY, int button)
      Called after a mouse click has released in a screen.
      Parameters:
      mouseX - the x position of the mouse
      mouseY - the y position of the mouse
      button - the button number, which can be identified by the constants in GLFW.
      See Also:
      GLFW.GLFW_MOUSE_BUTTON_1