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

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.server.level.ServerPlayer
    The player closing the GUI
  • Constructor Summary

    Constructors
    Constructor
    Description
    DialogueEndedEvent(net.minecraft.server.level.ServerPlayer player)
     
  • Method Summary

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)