mirror of https://github.com/FabricMC/yarn.git
132 lines
6.6 KiB
Plaintext
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_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 resultConsumer Lcom/mojang/brigadier/ResultConsumer;
|
|
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;ZLcom/mojang/brigadier/ResultConsumer;Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_7448;Lnet/minecraft/class_7620;)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 consumer
|
|
ARG 12 entityAnchor
|
|
ARG 13 signedArguments
|
|
ARG 14 messageChainTaskQueue
|
|
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_2168;
|
|
ARG 1 signedArguments
|
|
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_44908 withMessageChainTaskQueue (Lnet/minecraft/class_7620;)Lnet/minecraft/class_2168;
|
|
ARG 1 messageChainTaskQueue
|
|
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_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 mergeConsumers (Lcom/mojang/brigadier/ResultConsumer;Ljava/util/function/BinaryOperator;)Lnet/minecraft/class_2168;
|
|
ARG 1 consumer
|
|
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_9215 onCommandComplete (Lcom/mojang/brigadier/context/CommandContext;ZI)V
|
|
ARG 1 context
|
|
ARG 2 success
|
|
ARG 3 result
|
|
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_9224 (Lcom/mojang/brigadier/context/CommandContext;ZI)V
|
|
ARG 0 context
|
|
ARG 1 success
|
|
ARG 2 result
|
|
METHOD method_9225 getWorld ()Lnet/minecraft/class_3218;
|
|
METHOD method_9226 sendFeedback (Lnet/minecraft/class_2561;Z)V
|
|
ARG 1 message
|
|
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_9231 withConsumer (Lcom/mojang/brigadier/ResultConsumer;)Lnet/minecraft/class_2168;
|
|
ARG 1 consumer
|
|
METHOD method_9232 withEntity (Lnet/minecraft/class_1297;)Lnet/minecraft/class_2168;
|
|
ARG 1 entity
|