Interface ExecutionCommandSource<T extends ExecutionCommandSource<T>>
- All Superinterfaces:
PermissionSetSupplier
- All Known Implementing Classes:
ClientCommandSourceStack, CommandSourceStack
public interface ExecutionCommandSource<T extends ExecutionCommandSource<T>>
extends PermissionSetSupplier
-
Method Summary
Modifier and TypeMethodDescriptioncallback()default TvoidhandleError(CommandExceptionType type, Message message, boolean forked, @Nullable TraceCallbacks tracer) default voidhandleError(CommandSyntaxException e, boolean forked, @Nullable TraceCallbacks tracer) booleanisSilent()static <T extends ExecutionCommandSource<T>>
ResultConsumer<T> withCallback(CommandResultCallback resultCallback) Methods inherited from interface PermissionSetSupplier
permissions
-
Method Details
-
withCallback
-
callback
CommandResultCallback callback() -
clearCallbacks
-
dispatcher
CommandDispatcher<T> dispatcher() -
handleError
void handleError(CommandExceptionType type, Message message, boolean forked, @Nullable TraceCallbacks tracer) -
isSilent
boolean isSilent() -
handleError
-
resultConsumer
-