类 ToastAddEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.ToastAddEvent
public class ToastAddEvent
extends net.minecraftforge.eventbus.api.Event
Fired when the client queues a
Toast
message to be shown onscreen.
Toasts are small popups that appear on the top right of the screen, for certain actions such as unlocking Advancements and Recipes.
This event is cancellable, and does not have a result. Cancelling the event stops the toast from being queued, which means it never renders.
This event is fired on the main Forge event bus, only on the logical client.
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
toast
-
-
构造器详细资料
-
ToastAddEvent
-
-
方法详细资料
-
getToast
-