Class MouseInputEvent

java.lang.Object
org.polyfrost.oneconfig.api.event.v1.events.MouseInputEvent
All Implemented Interfaces:
Event

public class MouseInputEvent extends Object implements Event
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    This event is only fired when the mouse is moved inside a screen
    The provided coordinates are SCREEN coordinates and not minecraft-specific ones

    Nested classes/interfaces inherited from interface org.polyfrost.oneconfig.api.event.v1.events.Event

    Event.Cancellable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
     
    final int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MouseInputEvent(int button, int state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    int
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • button

      public final int button
    • state

      public final int state
  • Constructor Details

    • MouseInputEvent

      public MouseInputEvent(int button, int state)
  • Method Details

    • component1

      public int component1()
    • component2

      public int component2()