Class DialogueEndedEvent

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.dialogue.event.DialogueEndedEvent

public class DialogueEndedEvent extends net.neoforged.bus.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
  • Field Details

    • player

      public final net.minecraft.server.level.ServerPlayer player
      The player closing the GUI
  • Constructor Details

    • DialogueEndedEvent

      public DialogueEndedEvent(net.minecraft.server.level.ServerPlayer player)