Package net.minecraft.server.command
Interface AbstractServerCommandSource<T extends AbstractServerCommandSource<T>>
- All Known Implementing Classes:
- ServerCommandSource
public interface AbstractServerCommandSource<T extends AbstractServerCommandSource<T>>
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/AbstractServerCommandSource- intermediary - net/minecraft/class_8839- official - ez
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T extends AbstractServerCommandSource<T>>
 com.mojang.brigadier.ResultConsumer<T> com.mojang.brigadier.CommandDispatcher<T> voidhandleException(com.mojang.brigadier.exceptions.CommandExceptionType type, com.mojang.brigadier.Message message, boolean silent, @Nullable Tracer tracer) default voidhandleException(com.mojang.brigadier.exceptions.CommandSyntaxException exception, boolean silent, @Nullable Tracer tracer) booleanhasPermissionLevel(int level) booleanisSilent()default TwithReturnValueConsumer(ReturnValueConsumer returnValueConsumer) 
- 
Method Details- 
hasPermissionLevelboolean hasPermissionLevel(int level) - Mappings:
- Namespace - Name - Mixin selector - named - hasPermissionLevel- Lnet/minecraft/server/command/AbstractServerCommandSource;hasPermissionLevel(I)Z- intermediary - method_9259- Lnet/minecraft/class_8839;method_9259(I)Z- official - c- Lez;c(I)Z
 
- 
withReturnValueConsumer- Mappings:
- Namespace - Name - Mixin selector - named - withReturnValueConsumer- Lnet/minecraft/server/command/AbstractServerCommandSource;withReturnValueConsumer(Lnet/minecraft/command/ReturnValueConsumer;)Lnet/minecraft/server/command/AbstractServerCommandSource;- intermediary - method_54307- Lnet/minecraft/class_8839;method_54307(Lnet/minecraft/class_8935;)Lnet/minecraft/class_8839;- official - b- Lez;b(Leu;)Lez;
 
- 
getReturnValueConsumerReturnValueConsumer getReturnValueConsumer()- Mappings:
- Namespace - Name - Mixin selector - named - getReturnValueConsumer- Lnet/minecraft/server/command/AbstractServerCommandSource;getReturnValueConsumer()Lnet/minecraft/command/ReturnValueConsumer;- intermediary - method_54881- Lnet/minecraft/class_8839;method_54881()Lnet/minecraft/class_8935;- official - p- Lez;p()Leu;
 
- 
withDummyReturnValueConsumer- Mappings:
- Namespace - Name - Mixin selector - named - withDummyReturnValueConsumer- Lnet/minecraft/server/command/AbstractServerCommandSource;withDummyReturnValueConsumer()Lnet/minecraft/server/command/AbstractServerCommandSource;- intermediary - method_54311- Lnet/minecraft/class_8839;method_54311()Lnet/minecraft/class_8839;- official - a_- Lez;a_()Lez;
 
- 
getDispatchercom.mojang.brigadier.CommandDispatcher<T> getDispatcher()- Mappings:
- Namespace - Name - Mixin selector - named - getDispatcher- Lnet/minecraft/server/command/AbstractServerCommandSource;getDispatcher()Lcom/mojang/brigadier/CommandDispatcher;- intermediary - method_54310- Lnet/minecraft/class_8839;method_54310()Lcom/mojang/brigadier/CommandDispatcher;- official - w- Lez;w()Lcom/mojang/brigadier/CommandDispatcher;
 
- 
handleExceptionvoid handleException(com.mojang.brigadier.exceptions.CommandExceptionType type, com.mojang.brigadier.Message message, boolean silent, @Nullable @Nullable Tracer tracer) - Mappings:
- Namespace - Name - Mixin selector - named - handleException- Lnet/minecraft/server/command/AbstractServerCommandSource;handleException(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLnet/minecraft/server/function/Tracer;)V- intermediary - method_54491- Lnet/minecraft/class_8839;method_54491(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLnet/minecraft/class_6346;)V- official - a- Lez;a(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLia;)V
 
- 
isSilentboolean isSilent()- Mappings:
- Namespace - Name - Mixin selector - named - isSilent- Lnet/minecraft/server/command/AbstractServerCommandSource;isSilent()Z- intermediary - method_54882- Lnet/minecraft/class_8839;method_54882()Z- official - x- Lez;x()Z
 
- 
handleExceptiondefault void handleException(com.mojang.brigadier.exceptions.CommandSyntaxException exception, boolean silent, @Nullable @Nullable Tracer tracer) - Mappings:
- Namespace - Name - Mixin selector - named - handleException- Lnet/minecraft/server/command/AbstractServerCommandSource;handleException(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLnet/minecraft/server/function/Tracer;)V- intermediary - method_54495- Lnet/minecraft/class_8839;method_54495(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLnet/minecraft/class_6346;)V- official - a- Lez;a(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLia;)V
 
- 
asResultConsumerstatic <T extends AbstractServerCommandSource<T>> com.mojang.brigadier.ResultConsumer<T> asResultConsumer()- Mappings:
- Namespace - Name - Mixin selector - named - asResultConsumer- Lnet/minecraft/server/command/AbstractServerCommandSource;asResultConsumer()Lcom/mojang/brigadier/ResultConsumer;- intermediary - method_54317- Lnet/minecraft/class_8839;method_54317()Lcom/mojang/brigadier/ResultConsumer;- official - b_- Lez;b_()Lcom/mojang/brigadier/ResultConsumer;
 
 
-