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 official dwintermediary net/minecraft/class_8839named net/minecraft/server/command/AbstractServerCommandSource
-
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) booleanhasPermissionLevel(int level) booleandefault TwithResultStorer(class_8935 resultStorer)
-
Method Details
-
hasPermissionLevel
boolean hasPermissionLevel(int level) - Mappings:
Namespace Name Mixin selector official cLdw;c(I)Zintermediary method_9259Lnet/minecraft/class_8839;method_9259(I)Znamed hasPermissionLevelLnet/minecraft/server/command/AbstractServerCommandSource;hasPermissionLevel(I)Z
-
withResultStorer
- Mappings:
Namespace Name Mixin selector official bLdw;b(Ldq;)Ldw;intermediary method_54307Lnet/minecraft/class_8839;method_54307(Lnet/minecraft/class_8935;)Lnet/minecraft/class_8839;named withResultStorerLnet/minecraft/server/command/AbstractServerCommandSource;withResultStorer(Lnet/minecraft/class_8935;)Lnet/minecraft/server/command/AbstractServerCommandSource;
-
method_54881
class_8935 method_54881()- Mappings:
Namespace Name Mixin selector official pLdw;p()Ldq;intermediary method_54881Lnet/minecraft/class_8839;method_54881()Lnet/minecraft/class_8935;named method_54881Lnet/minecraft/server/command/AbstractServerCommandSource;method_54881()Lnet/minecraft/class_8935;
-
withDummyResultStorer
- Mappings:
Namespace Name Mixin selector official a_Ldw;a_()Ldw;intermediary method_54311Lnet/minecraft/class_8839;method_54311()Lnet/minecraft/class_8839;named withDummyResultStorerLnet/minecraft/server/command/AbstractServerCommandSource;withDummyResultStorer()Lnet/minecraft/server/command/AbstractServerCommandSource;
-
getDispatcher
com.mojang.brigadier.CommandDispatcher<T> getDispatcher()- Mappings:
Namespace Name Mixin selector official xLdw;x()Lcom/mojang/brigadier/CommandDispatcher;intermediary method_54310Lnet/minecraft/class_8839;method_54310()Lcom/mojang/brigadier/CommandDispatcher;named getDispatcherLnet/minecraft/server/command/AbstractServerCommandSource;getDispatcher()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 official aLdw;a(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLgr;)Vintermediary method_54491Lnet/minecraft/class_8839;method_54491(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLnet/minecraft/class_6346;)Vnamed handleExceptionLnet/minecraft/server/command/AbstractServerCommandSource;handleException(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLnet/minecraft/server/function/Tracer;)V
-
method_54882
boolean method_54882()- Mappings:
Namespace Name Mixin selector official yLdw;y()Zintermediary method_54882Lnet/minecraft/class_8839;method_54882()Znamed method_54882Lnet/minecraft/server/command/AbstractServerCommandSource;method_54882()Z
-
handleException
default void handleException(com.mojang.brigadier.exceptions.CommandSyntaxException exception, boolean silent, @Nullable @Nullable Tracer tracer) - Mappings:
Namespace Name Mixin selector official aLdw;a(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLgr;)Vintermediary method_54495Lnet/minecraft/class_8839;method_54495(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLnet/minecraft/class_6346;)Vnamed handleExceptionLnet/minecraft/server/command/AbstractServerCommandSource;handleException(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLnet/minecraft/server/function/Tracer;)V
-
asResultConsumer
static <T extends AbstractServerCommandSource<T>> com.mojang.brigadier.ResultConsumer<T> asResultConsumer()- Mappings:
Namespace Name Mixin selector official b_Ldw;b_()Lcom/mojang/brigadier/ResultConsumer;intermediary method_54317Lnet/minecraft/class_8839;method_54317()Lcom/mojang/brigadier/ResultConsumer;named asResultConsumerLnet/minecraft/server/command/AbstractServerCommandSource;asResultConsumer()Lcom/mojang/brigadier/ResultConsumer;
-