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 dw
intermediary net/minecraft/class_8839
named net/minecraft/server/command/AbstractServerCommandSource
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends AbstractServerCommandSource<T>>
com.mojang.brigadier.ResultConsumer<T>void
consumeResult
(boolean success, int result) void
consumeResult
(int result) com.mojang.brigadier.CommandDispatcher<T>
boolean
hasPermissionLevel
(int level) withResultConsumer
(ResultStorer<T> resultConsumer) withReturnValueConsumer
(IntConsumer returnValueConsumer)
-
Method Details
-
hasPermissionLevel
boolean hasPermissionLevel(int level) - Mappings:
Namespace Name Mixin selector official c
Ldw;c(I)Z
intermediary method_9259
Lnet/minecraft/class_8839;method_9259(I)Z
named hasPermissionLevel
Lnet/minecraft/server/command/AbstractServerCommandSource;hasPermissionLevel(I)Z
-
consumeResult
void consumeResult(boolean success, int result) - Mappings:
Namespace Name Mixin selector official a
Ldw;a(ZI)V
intermediary method_54306
Lnet/minecraft/class_8839;method_54306(ZI)V
named consumeResult
Lnet/minecraft/server/command/AbstractServerCommandSource;consumeResult(ZI)V
-
consumeResult
void consumeResult(int result) - Mappings:
Namespace Name Mixin selector official d
Ldw;d(I)V
intermediary method_54309
Lnet/minecraft/class_8839;method_54309(I)V
named consumeResult
Lnet/minecraft/server/command/AbstractServerCommandSource;consumeResult(I)V
-
withReturnValueConsumer
- Mappings:
Namespace Name Mixin selector official b
Ldw;b(Ljava/util/function/IntConsumer;)Ldw;
intermediary method_54308
Lnet/minecraft/class_8839;method_54308(Ljava/util/function/IntConsumer;)Lnet/minecraft/class_8839;
named withReturnValueConsumer
Lnet/minecraft/server/command/AbstractServerCommandSource;withReturnValueConsumer(Ljava/util/function/IntConsumer;)Lnet/minecraft/server/command/AbstractServerCommandSource;
-
withResultConsumer
- Mappings:
Namespace Name Mixin selector official b
Ldw;b(Ldq;)Ldw;
intermediary method_54307
Lnet/minecraft/class_8839;method_54307(Lnet/minecraft/class_8838;)Lnet/minecraft/class_8839;
named withResultConsumer
Lnet/minecraft/server/command/AbstractServerCommandSource;withResultConsumer(Lnet/minecraft/command/ResultStorer;)Lnet/minecraft/server/command/AbstractServerCommandSource;
-
withDummyResultConsumer
T withDummyResultConsumer()- Mappings:
Namespace Name Mixin selector official y
Ldw;y()Ldw;
intermediary method_54311
Lnet/minecraft/class_8839;method_54311()Lnet/minecraft/class_8839;
named withDummyResultConsumer
Lnet/minecraft/server/command/AbstractServerCommandSource;withDummyResultConsumer()Lnet/minecraft/server/command/AbstractServerCommandSource;
-
getDispatcher
com.mojang.brigadier.CommandDispatcher<T> getDispatcher()- Mappings:
Namespace Name Mixin selector official x
Ldw;x()Lcom/mojang/brigadier/CommandDispatcher;
intermediary method_54310
Lnet/minecraft/class_8839;method_54310()Lcom/mojang/brigadier/CommandDispatcher;
named getDispatcher
Lnet/minecraft/server/command/AbstractServerCommandSource;getDispatcher()Lcom/mojang/brigadier/CommandDispatcher;
-
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_54317
Lnet/minecraft/class_8839;method_54317()Lcom/mojang/brigadier/ResultConsumer;
named asResultConsumer
Lnet/minecraft/server/command/AbstractServerCommandSource;asResultConsumer()Lcom/mojang/brigadier/ResultConsumer;
-