Class ShutdownEvent

java.lang.Object
org.polyfrost.oneconfig.api.event.v1.events.ShutdownEvent
All Implemented Interfaces:
Event

public class ShutdownEvent extends Object implements Event
Called when the game is shutting down
This is called even when the game crashes as long as it was initialized in the first place
Use it to do work before the screen itself is fully closed
Also use it to act before another mod does something via JvmShutdownEvent
See Also:
  • Field Details