For now we keep the patches largely editor-only, since we don't yet support runtime landscape editing. The above functions are also editor-only (and don't work at runtime), but can't be in WITH_EDITOR blocks so that they can be called from non-editor-only classes in editor contexts.