Interface MenuErrorHandler

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MenuErrorHandler
菜单动作失败后调用、面向玩家的可配置错误边界。
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onError(org.bukkit.entity.Player player, me.kzheart.klib.ui.MenuModel model, me.kzheart.klib.ui.MenuClick click, Throwable failure)
     
  • Method Details

    • onError

      void onError(org.bukkit.entity.Player player, me.kzheart.klib.ui.MenuModel model, me.kzheart.klib.ui.MenuClick click, Throwable failure)