Package net.minecraft.server.command
Interface AbstractServerCommandSource<T extends AbstractServerCommandSource<T>>
- All Superinterfaces:
PermissionLevelSource
- All Known Implementing Classes:
ServerCommandSource
public interface AbstractServerCommandSource<T extends AbstractServerCommandSource<T>>
extends PermissionLevelSource
- Mappings:
Namespace Name named net/minecraft/server/command/AbstractServerCommandSourceintermediary net/minecraft/class_8839official el
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.command.PermissionLevelSource
PermissionLevelSource.PermissionLevelSourcePredicate<T extends PermissionLevelSource> -
Method Summary
Modifier 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) booleanisSilent()default TwithReturnValueConsumer(ReturnValueConsumer returnValueConsumer) Methods inherited from interface net.minecraft.command.PermissionLevelSource
hasElevatedPermissions, hasPermissionLevel
-
Method Details
-
withReturnValueConsumer
- Mappings:
Namespace Name Mixin selector named withReturnValueConsumerLnet/minecraft/server/command/AbstractServerCommandSource;withReturnValueConsumer(Lnet/minecraft/command/ReturnValueConsumer;)Lnet/minecraft/server/command/AbstractServerCommandSource;intermediary method_54307Lnet/minecraft/class_8839;method_54307(Lnet/minecraft/class_8935;)Lnet/minecraft/class_8839;official bLel;b(Leg;)Lel;
-
getReturnValueConsumer
ReturnValueConsumer getReturnValueConsumer()- Mappings:
Namespace Name Mixin selector named getReturnValueConsumerLnet/minecraft/server/command/AbstractServerCommandSource;getReturnValueConsumer()Lnet/minecraft/command/ReturnValueConsumer;intermediary method_54881Lnet/minecraft/class_8839;method_54881()Lnet/minecraft/class_8935;official pLel;p()Leg;
-
withDummyReturnValueConsumer
- Mappings:
Namespace Name Mixin selector named withDummyReturnValueConsumerLnet/minecraft/server/command/AbstractServerCommandSource;withDummyReturnValueConsumer()Lnet/minecraft/server/command/AbstractServerCommandSource;intermediary method_54311Lnet/minecraft/class_8839;method_54311()Lnet/minecraft/class_8839;official a_Lel;a_()Lel;
-
getDispatcher
com.mojang.brigadier.CommandDispatcher<T> getDispatcher()- Mappings:
Namespace Name Mixin selector named getDispatcherLnet/minecraft/server/command/AbstractServerCommandSource;getDispatcher()Lcom/mojang/brigadier/CommandDispatcher;intermediary method_54310Lnet/minecraft/class_8839;method_54310()Lcom/mojang/brigadier/CommandDispatcher;official wLel;w()Lcom/mojang/brigadier/CommandDispatcher;
-
handleException
void handleException(com.mojang.brigadier.exceptions.CommandExceptionType type, com.mojang.brigadier.Message message, boolean silent, @Nullable @Nullable Tracer tracer) - Mappings:
Namespace Name Mixin selector named handleExceptionLnet/minecraft/server/command/AbstractServerCommandSource;handleException(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLnet/minecraft/server/function/Tracer;)Vintermediary method_54491Lnet/minecraft/class_8839;method_54491(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLnet/minecraft/class_6346;)Vofficial aLel;a(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLhq;)V
-
isSilent
boolean isSilent()- Mappings:
Namespace Name Mixin selector named isSilentLnet/minecraft/server/command/AbstractServerCommandSource;isSilent()Zintermediary method_54882Lnet/minecraft/class_8839;method_54882()Zofficial xLel;x()Z
-
handleException
default void handleException(com.mojang.brigadier.exceptions.CommandSyntaxException exception, boolean silent, @Nullable @Nullable Tracer tracer) - Mappings:
Namespace Name Mixin selector named handleExceptionLnet/minecraft/server/command/AbstractServerCommandSource;handleException(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLnet/minecraft/server/function/Tracer;)Vintermediary method_54495Lnet/minecraft/class_8839;method_54495(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLnet/minecraft/class_6346;)Vofficial aLel;a(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLhq;)V
-
asResultConsumer
static <T extends AbstractServerCommandSource<T>> com.mojang.brigadier.ResultConsumer<T> asResultConsumer()- Mappings:
Namespace Name Mixin selector named asResultConsumerLnet/minecraft/server/command/AbstractServerCommandSource;asResultConsumer()Lcom/mojang/brigadier/ResultConsumer;intermediary method_54317Lnet/minecraft/class_8839;method_54317()Lcom/mojang/brigadier/ResultConsumer;official b_Lel;b_()Lcom/mojang/brigadier/ResultConsumer;
-