Interface ScreenMouseEvents.AllowMouseRelease

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.

@FunctionalInterface public static interface ScreenMouseEvents.AllowMouseRelease
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    allowMouseRelease(net.minecraft.client.gui.screens.Screen screen, net.minecraft.client.input.MouseButtonEvent event)
    Checks if the mouse click should be allowed to release in a screen.
  • Method Details

    • allowMouseRelease

      boolean allowMouseRelease(net.minecraft.client.gui.screens.Screen screen, net.minecraft.client.input.MouseButtonEvent event)
      Checks if the mouse click should be allowed to release in a screen.
      Parameters:
      screen - the screen
      event - the mouse button event, containing the mouse position and button
      See Also:
      • GLFW.GLFW_MOUSE_BUTTON_1