类 ScreenEvent.MouseButtonPressed.Post

封闭类:
ScreenEvent.MouseButtonPressed

public static class ScreenEvent.MouseButtonPressed.Post extends ScreenEvent.MouseButtonPressed
Fired after the mouse click is handled, if the corresponding ScreenEvent.MouseButtonPressed.Pre was not cancelled.

This event is not cancellable, has a result.

This event is fired on the main Forge event bus, only on the logical client.

  • 字段详细资料

    • handled

      private final boolean handled
  • 构造器详细资料

    • Post

      @Internal public Post(Screen screen, double mouseX, double mouseY, int button, boolean handled)
  • 方法详细资料

    • wasHandled

      public boolean wasHandled()
      返回 true if the mouse click was already handled by its screen。
      返回:
      true if the mouse click was already handled by its screen