类 ScreenEvent.MouseButtonReleased.Post
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ScreenEvent
net.minecraftforge.client.event.ScreenEvent.MouseInput
net.minecraftforge.client.event.ScreenEvent.MouseButtonReleased
net.minecraftforge.client.event.ScreenEvent.MouseButtonReleased.Post
Fired after the mouse release is handled, if the corresponding
ScreenEvent.MouseButtonReleased.Pre
was
not cancelled.
This event is not cancellable, has a result.
Event.Result.ALLOW
- forcibly sets the mouse release as handledEvent.Result.DEFAULT
- defaults to the return value ofContainerEventHandler.mouseReleased(double, double, int)
from the screen (seewasHandled()
.Event.Result.DENY
- forcibly sets the mouse release as not handled.
This event is fired on the main Forge event bus, only on the logical client.
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.client.event.ScreenEvent.MouseButtonReleased
ScreenEvent.MouseButtonReleased.Post, ScreenEvent.MouseButtonReleased.Pre
从类继承的嵌套类/接口 net.minecraftforge.client.event.ScreenEvent
ScreenEvent.BackgroundRendered, ScreenEvent.CharacterTyped, ScreenEvent.Closing, ScreenEvent.Init, ScreenEvent.KeyPressed, ScreenEvent.KeyReleased, ScreenEvent.MouseButtonPressed, ScreenEvent.MouseButtonReleased, ScreenEvent.MouseDragged, ScreenEvent.MouseScrolled, ScreenEvent.Opening, ScreenEvent.Render, ScreenEvent.RenderInventoryMobEffects
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.client.event.ScreenEvent.MouseButtonReleased
getButton
从类继承的方法 net.minecraftforge.client.event.ScreenEvent.MouseInput
getMouseX, getMouseY
从类继承的方法 net.minecraftforge.client.event.ScreenEvent
getScreen
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
handled
private final boolean handled
-
-
构造器详细资料
-
Post
-
-
方法详细资料
-
wasHandled
public boolean wasHandled()- 返回:
true
if the mouse release was already handled by its screen
-