Class DialogueEndedEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.dialogue.event.DialogueEndedEvent
public class DialogueEndedEvent
extends net.minecraftforge.eventbus.api.Event
Fired when a player finishes going through the entirety of a
Dialogue
set.
This is fired after the closure of the GUI to guarantee safety to modify the player's
screen.
This event serves only as a notifier. It provides by design no means of cancelling the closure or modifying existing GUIs.
- Since:
- November 20, 2017
-
Nested Class Summary
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
Modifier and TypeFieldDescriptionfinal net.minecraft.server.level.ServerPlayer
The player closing the GUI -
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
player
public final net.minecraft.server.level.ServerPlayer playerThe player closing the GUI
-
-
Constructor Details
-
DialogueEndedEvent
public DialogueEndedEvent(net.minecraft.server.level.ServerPlayer player)
-