Package net.minecraftforge.client.event
Class ScreenEvent.MouseInput
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
net.minecraftforge.client.event.ScreenEvent.MouseInput
- Direct Known Subclasses:
- ScreenEvent.MouseButtonPressed,- ScreenEvent.MouseButtonReleased,- ScreenEvent.MouseDragged,- ScreenEvent.MouseScrolled
- Enclosing class:
- ScreenEvent
Fired whenever an action is performed by the mouse.
 See the various subclasses to listen for different actions.
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraftforge.client.event.ScreenEventScreenEvent.BackgroundRendered, ScreenEvent.CharacterTyped, ScreenEvent.Closing, ScreenEvent.Init, ScreenEvent.KeyPressed, ScreenEvent.KeyReleased, ScreenEvent.MouseButtonPressed, ScreenEvent.MouseButtonReleased, ScreenEvent.MouseDragged, ScreenEvent.MouseScrolled, ScreenEvent.Opening, ScreenEvent.Render, ScreenEvent.RenderInventoryMobEffectsNested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Eventnet.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class net.minecraftforge.client.event.ScreenEventgetScreenMethods inherited from class net.minecraftforge.eventbus.api.EventgetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
- 
Field Details- 
mouseXprivate final double mouseX
- 
mouseYprivate final double mouseY
 
- 
- 
Constructor Details- 
MouseInput
 
- 
- 
Method Details- 
getMouseXpublic double getMouseX()Returns the X position of the mouse cursor, relative to the screen.- Returns:
- the X position of the mouse cursor, relative to the screen
 
- 
getMouseYpublic double getMouseY()Returns the Y position of the mouse cursor, relative to the screen.- Returns:
- the Y position of the mouse cursor, relative to the screen
 
 
-