@Override
      protected @NotNull ModCommand perform(@NotNull ActionContext context, @NotNull T element) {
        return function.apply(element);
      }
@Override
      protected @NotNull ModCommand perform(@NotNull ActionContext context, @NotNull T element)