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>voidconsumeResult(boolean success, int result) voidconsumeResult(int result) 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) withResultStorer(ResultStorer<T> resultStorer) withReturnValueConsumer(IntConsumer returnValueConsumer)
-
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
-
consumeResult
void consumeResult(boolean success, int result) - Mappings:
Namespace Name Mixin selector official aLdw;a(ZI)Vintermediary method_54306Lnet/minecraft/class_8839;method_54306(ZI)Vnamed consumeResultLnet/minecraft/server/command/AbstractServerCommandSource;consumeResult(ZI)V
-
consumeResult
void consumeResult(int result) - Mappings:
Namespace Name Mixin selector official dLdw;d(I)Vintermediary method_54309Lnet/minecraft/class_8839;method_54309(I)Vnamed consumeResultLnet/minecraft/server/command/AbstractServerCommandSource;consumeResult(I)V
-
withReturnValueConsumer
- Mappings:
Namespace Name Mixin selector official bLdw;b(Ljava/util/function/IntConsumer;)Ldw;intermediary method_54308Lnet/minecraft/class_8839;method_54308(Ljava/util/function/IntConsumer;)Lnet/minecraft/class_8839;named withReturnValueConsumerLnet/minecraft/server/command/AbstractServerCommandSource;withReturnValueConsumer(Ljava/util/function/IntConsumer;)Lnet/minecraft/server/command/AbstractServerCommandSource;
-
withResultStorer
- Mappings:
Namespace Name Mixin selector official bLdw;b(Ldq;)Ldw;intermediary method_54307Lnet/minecraft/class_8839;method_54307(Lnet/minecraft/class_8838;)Lnet/minecraft/class_8839;named withResultStorerLnet/minecraft/server/command/AbstractServerCommandSource;withResultStorer(Lnet/minecraft/command/ResultStorer;)Lnet/minecraft/server/command/AbstractServerCommandSource;
-
withDummyResultStorer
T withDummyResultStorer()- Mappings:
Namespace Name Mixin selector official yLdw;y()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;ZLgp;)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
-
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;ZLgp;)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 a_Ldw;a_()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;
-