Package net.minecraftforge.client.event
Class ScreenEvent.MouseReleasedEvent.Post
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
net.minecraftforge.client.event.ScreenEvent.MouseInputEvent
net.minecraftforge.client.event.ScreenEvent.MouseReleasedEvent
net.minecraftforge.client.event.ScreenEvent.MouseReleasedEvent.Post
- Enclosing class:
- ScreenEvent.MouseReleasedEvent
This event fires after
GuiEventListener.mouseReleased(double, double, int)
.
This event has a result.
Event.Result.ALLOW
- to force set the mouse release as handledEvent.Result.DEFAULT
- to use the default value ofhandled
Event.Result.DENY
- to force set the mouse release as not handled
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.client.event.ScreenEvent.MouseReleasedEvent
ScreenEvent.MouseReleasedEvent.Post, ScreenEvent.MouseReleasedEvent.Pre
Nested classes/interfaces inherited from class net.minecraftforge.client.event.ScreenEvent
ScreenEvent.BackgroundDrawnEvent, ScreenEvent.DrawScreenEvent, ScreenEvent.InitScreenEvent, ScreenEvent.KeyboardCharTypedEvent, ScreenEvent.KeyboardKeyEvent, ScreenEvent.KeyboardKeyPressedEvent, ScreenEvent.KeyboardKeyReleasedEvent, ScreenEvent.MouseClickedEvent, ScreenEvent.MouseDragEvent, ScreenEvent.MouseInputEvent, ScreenEvent.MouseReleasedEvent, ScreenEvent.MouseScrollEvent, ScreenEvent.PotionShiftEvent, ScreenEvent.PotionSizeEvent
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.client.event.ScreenEvent.MouseReleasedEvent
getButton
Methods inherited from class net.minecraftforge.client.event.ScreenEvent.MouseInputEvent
getMouseX, getMouseY
Methods inherited from class net.minecraftforge.client.event.ScreenEvent
getScreen
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
handled
private final boolean handled
-
-
Constructor Details
-
Post
-
-
Method Details
-
wasHandled
public boolean wasHandled()- Returns:
true
if the mouse release was already handled by its screen
-