Class ChestCloseReasons

java.lang.Object
com.ultikits.ultitools.ui.chest.ChestCloseReasons

@Internal public final class ChestCloseReasons extends Object
Maps server-side screen closes to the existing UI result vocabulary.
  • Constructor Details

    • ChestCloseReasons

      private ChestCloseReasons()
  • Method Details

    • map

      public static CloseReason map(org.bukkit.event.inventory.InventoryCloseEvent.Reason reason)
      Maps a settled close; CANT_USE must first allow a same-tick quit to select DISCONNECTED.