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 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

      T withReturnValueConsumer(IntConsumer returnValueConsumer)
      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;
    • withResultStorer

      T withResultStorer(ResultStorer<T> resultStorer)
      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 withResultStorer Lnet/minecraft/server/command/AbstractServerCommandSource;withResultStorer(Lnet/minecraft/command/ResultStorer;)Lnet/minecraft/server/command/AbstractServerCommandSource;
    • withDummyResultStorer

      T withDummyResultStorer()
      Mappings:
      Namespace Name Mixin selector
      official y Ldw;y()Ldw;
      intermediary method_54311 Lnet/minecraft/class_8839;method_54311()Lnet/minecraft/class_8839;
      named withDummyResultStorer Lnet/minecraft/server/command/AbstractServerCommandSource;withDummyResultStorer()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;
    • 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 a Ldw;a(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLgp;)V
      intermediary method_54491 Lnet/minecraft/class_8839;method_54491(Lcom/mojang/brigadier/exceptions/CommandExceptionType;Lcom/mojang/brigadier/Message;ZLnet/minecraft/class_6346;)V
      named handleException Lnet/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 a Ldw;a(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLgp;)V
      intermediary method_54495 Lnet/minecraft/class_8839;method_54495(Lcom/mojang/brigadier/exceptions/CommandSyntaxException;ZLnet/minecraft/class_6346;)V
      named handleException Lnet/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_54317 Lnet/minecraft/class_8839;method_54317()Lcom/mojang/brigadier/ResultConsumer;
      named asResultConsumer Lnet/minecraft/server/command/AbstractServerCommandSource;asResultConsumer()Lcom/mojang/brigadier/ResultConsumer;