Class Operations
java.lang.Object
com.sk89q.worldedit.function.operation.Operations
Operation helper methods.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Complete a given operation synchronously until it completes.static void
Complete a given operation synchronously until it completes.static void
Complete 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 notMaxChangedBlocksException
for 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 allWorldEditException
exceptions asRuntimeException
s.- Parameters:
op
- operation to execute
-