yarn/mappings/net/minecraft/server/command/ServerCommandSource.mapping

132 lines
6.6 KiB
Plaintext

CLASS net/minecraft/class_2168 net/minecraft/server/command/ServerCommandSource
COMMENT Represents a command source used on server side.
COMMENT
COMMENT @see MinecraftServer#getCommandSource()
COMMENT @see Entity#getCommandSource()
FIELD field_39183 signedArguments Lnet/minecraft/class_7448;
FIELD field_39834 messageChainTaskQueue Lnet/minecraft/class_7620;
FIELD field_44647 returnValueConsumer Ljava/util/function/IntConsumer;
FIELD field_46668 DUMMY_STORER Lnet/minecraft/class_8838;
FIELD field_9815 level I
FIELD field_9816 entityAnchor Lnet/minecraft/class_2183$class_2184;
FIELD field_9817 position Lnet/minecraft/class_243;
FIELD field_9818 server Lnet/minecraft/server/MinecraftServer;
FIELD field_9819 output Lnet/minecraft/class_2165;
FIELD field_9820 entity Lnet/minecraft/class_1297;
FIELD field_9821 resultStorer Lnet/minecraft/class_8838;
FIELD field_9822 rotation Lnet/minecraft/class_241;
FIELD field_9823 silent Z
FIELD field_9824 REQUIRES_PLAYER_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD field_9825 displayName Lnet/minecraft/class_2561;
FIELD field_9826 name Ljava/lang/String;
FIELD field_9827 REQUIRES_ENTITY_EXCEPTION Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
FIELD field_9828 world Lnet/minecraft/class_3218;
METHOD <init> (Lnet/minecraft/class_2165;Lnet/minecraft/class_243;Lnet/minecraft/class_241;Lnet/minecraft/class_3218;ILjava/lang/String;Lnet/minecraft/class_2561;Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1297;)V
ARG 1 output
ARG 2 pos
ARG 3 rot
ARG 4 world
ARG 5 level
ARG 6 name
ARG 7 displayName
ARG 8 server
ARG 9 entity
METHOD <init> (Lnet/minecraft/class_2165;Lnet/minecraft/class_243;Lnet/minecraft/class_241;Lnet/minecraft/class_3218;ILjava/lang/String;Lnet/minecraft/class_2561;Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_1297;ZLnet/minecraft/class_8838;Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_7448;Lnet/minecraft/class_7620;Ljava/util/function/IntConsumer;)V
ARG 1 output
ARG 2 pos
ARG 3 rot
ARG 4 world
ARG 5 level
ARG 6 name
ARG 7 displayName
ARG 8 server
ARG 9 entity
ARG 10 silent
ARG 11 resultStorer
ARG 12 entityAnchor
ARG 13 signedArguments
ARG 14 messageChainTaskQueue
ARG 15 returnValueConsumer
METHOD method_36321 withOutput (Lnet/minecraft/class_2165;)Lnet/minecraft/class_2168;
ARG 1 output
METHOD method_41212 (Lnet/minecraft/class_2172$class_7078;Lcom/mojang/brigadier/suggestion/SuggestionsBuilder;Lnet/minecraft/class_2378;)Ljava/util/concurrent/CompletableFuture;
ARG 3 registry
METHOD method_43735 withSignedArguments (Lnet/minecraft/class_7448;Lnet/minecraft/class_7620;)Lnet/minecraft/class_2168;
ARG 1 signedArguments
ARG 2 messageChainTaskQueue
METHOD method_43737 isExecutedByPlayer ()Z
METHOD method_43738 getSignedArguments ()Lnet/minecraft/class_7448;
METHOD method_44023 getPlayer ()Lnet/minecraft/class_3222;
COMMENT {@return the player from this command source, or {@code null} if the source is not a player}
METHOD method_44749 sendChatMessage (Lnet/minecraft/class_7604;ZLnet/minecraft/class_2556$class_7602;)V
COMMENT Sends {@code message} as a chat message to the command's executor, or to the server's log
COMMENT if the command is not executed by a player.
ARG 1 message
ARG 2 filterMaskEnabled
ARG 3 params
METHOD method_44909 getMessageChainTaskQueue ()Lnet/minecraft/class_7620;
METHOD method_45067 shouldFilterText (Lnet/minecraft/class_3222;)Z
COMMENT {@return whether to filter text sent to {@code recipient}}
COMMENT
COMMENT <p>This returns {@code true} if either of the command executor or the recipient
COMMENT requires text filtering, unless {@code recipient} executed the command, where
COMMENT {@code false} is always returned.
ARG 1 recipient
METHOD method_45068 sendMessage (Lnet/minecraft/class_2561;)V
COMMENT Sends {@code message} as the feedback to the command's executor, or to the server's log
COMMENT if the command is not executed by a player.
ARG 1 message
METHOD method_51411 withReturnValueConsumer (Ljava/util/function/IntConsumer;)Lnet/minecraft/class_2168;
ARG 1 returnValueConsumer
METHOD method_51412 (I)V
ARG 0 returnValue
METHOD method_54305 (Lnet/minecraft/class_2168;ZI)V
ARG 0 context
ARG 1 success
ARG 2 result
METHOD method_9206 withLevel (I)Lnet/minecraft/class_2168;
ARG 1 level
METHOD method_9207 getPlayerOrThrow ()Lnet/minecraft/class_3222;
COMMENT {@return the player from this command source}
COMMENT
COMMENT @throws CommandSyntaxException if this command source is not a player
METHOD method_9208 withPosition (Lnet/minecraft/class_243;)Lnet/minecraft/class_2168;
ARG 1 position
METHOD method_9209 mergeStorers (Lnet/minecraft/class_8838;Ljava/util/function/BinaryOperator;)Lnet/minecraft/class_2168;
ARG 1 resultStorer
ARG 2 merger
METHOD method_9210 getRotation ()Lnet/minecraft/class_241;
METHOD method_9211 getServer ()Lnet/minecraft/server/MinecraftServer;
METHOD method_9212 sendToOps (Lnet/minecraft/class_2561;)V
ARG 1 message
METHOD method_9213 sendError (Lnet/minecraft/class_2561;)V
ARG 1 message
METHOD method_9214 getName ()Ljava/lang/String;
METHOD method_9216 withRotation (Lnet/minecraft/class_241;)Lnet/minecraft/class_2168;
ARG 1 rotation
METHOD method_9217 withSilent ()Lnet/minecraft/class_2168;
METHOD method_9218 withEntityAnchor (Lnet/minecraft/class_2183$class_2184;)Lnet/minecraft/class_2168;
ARG 1 anchor
METHOD method_9219 getEntityAnchor ()Lnet/minecraft/class_2183$class_2184;
METHOD method_9220 withLookingAt (Lnet/minecraft/class_1297;Lnet/minecraft/class_2183$class_2184;)Lnet/minecraft/class_2168;
ARG 1 entity
ARG 2 anchor
METHOD method_9221 withLookingAt (Lnet/minecraft/class_243;)Lnet/minecraft/class_2168;
ARG 1 position
METHOD method_9222 getPosition ()Lnet/minecraft/class_243;
METHOD method_9223 getDisplayName ()Lnet/minecraft/class_2561;
METHOD method_9225 getWorld ()Lnet/minecraft/class_3218;
METHOD method_9226 sendFeedback (Ljava/util/function/Supplier;Z)V
ARG 1 feedbackSupplier
ARG 2 broadcastToOps
METHOD method_9227 withWorld (Lnet/minecraft/class_3218;)Lnet/minecraft/class_2168;
ARG 1 world
METHOD method_9228 getEntity ()Lnet/minecraft/class_1297;
COMMENT Gets the entity from this command source or returns null if this command source is not an entity.
METHOD method_9229 getEntityOrThrow ()Lnet/minecraft/class_1297;
COMMENT Gets the entity from this command source or throws a command syntax exception if this command source is not an entity.
METHOD method_9230 withMaxLevel (I)Lnet/minecraft/class_2168;
ARG 1 level
METHOD method_9232 withEntity (Lnet/minecraft/class_1297;)Lnet/minecraft/class_2168;
ARG 1 entity