Uses of Record Class
net.minecraft.command.argument.DecoratableArgumentList
Package
Description
-
Uses of DecoratableArgumentList in net.minecraft.command.argument
Modifier and TypeMethodDescriptionstatic <S> DecoratableArgumentList<S>
DecoratableArgumentList.of
(com.mojang.brigadier.ParseResults<S> parseResults) Returns a new instance of this list fromparseResults
. -
Uses of DecoratableArgumentList in net.minecraft.network.message
Modifier and TypeMethodDescriptionstatic boolean
ArgumentSignatureDataMap.hasSignedArgument
(DecoratableArgumentList<?> arguments) Returns whether the parsed arguments includeSignedArgumentType
.static ArgumentSignatureDataMap
ArgumentSignatureDataMap.sign
(DecoratableArgumentList<?> arguments, ArgumentSignatureDataMap.ArgumentSigner signer) Returns the signature map witharguments
signed withsigner
.ArgumentSignatureDataMap.toNameValuePairs
(DecoratableArgumentList<?> arguments) Returnsarguments
converted to a list of signed name/value pairs. -
Uses of DecoratableArgumentList in net.minecraft.server.network
Modifier and TypeMethodDescriptionprivate Map<String,
SignedMessage> ServerPlayNetworkHandler.collectArgumentMessages
(CommandExecutionC2SPacket packet, DecoratableArgumentList<?> arguments) Returns a map of argument name and value as signed messages.private CompletableFuture<Text>
ServerPlayNetworkHandler.decorateCommand
(ServerCommandSource source, DecoratableArgumentList<ServerCommandSource> arguments)