Class Operations
java.lang.Object
com.sk89q.worldedit.function.operation.Operations
Operation helper methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidComplete a given operation synchronously until it completes.static voidComplete a given operation synchronously until it completes.static voidComplete a given operation synchronously until it completes.
-
Method Details
-
complete
Complete a given operation synchronously until it completes.- Parameters:
op- operation to execute- Throws:
WorldEditException- WorldEdit exception
-
completeLegacy
Complete a given operation synchronously until it completes. Catch all errors that is notMaxChangedBlocksExceptionfor legacy reasons.- Parameters:
op- operation to execute- Throws:
MaxChangedBlocksException- thrown when too many blocks have been changed
-
completeBlindly
Complete a given operation synchronously until it completes. Re-throw allWorldEditExceptionexceptions asRuntimeExceptions.- Parameters:
op- operation to execute
-