java.lang.Object
tech.guilhermekaua.spigotboot.inventoryapi.internal.engine.phase.ClickRoutingPhase

@Internal public final class ClickRoutingPhase extends Object
Click policy and routing (spec ยง6): pre-cancel from config and per-component override, handler dispatch with last-writer-wins cancellation, the safety-floor actions force-cancelled after handlers, and end-of-tick post-actions. Constructed and invoked only by ViewEngine.
  • Constructor Details

    • ClickRoutingPhase

      public ClickRoutingPhase(@NotNull @NotNull ViewEngine engine)
      Creates the phase.
      Parameters:
      engine - the owning engine
  • Method Details

    • route

      public void route(@NotNull @NotNull ViewSession session, @NotNull @NotNull org.bukkit.event.inventory.InventoryClickEvent event)
      Routes a Bukkit click event into the session per the click policy.
      Parameters:
      session - the clicked session
      event - the Bukkit event