Package net.minecraft.commands.arguments
Class MessageArgument.Message
java.lang.Object
net.minecraft.commands.arguments.MessageArgument.Message
- Enclosing class:
- MessageArgument
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MessageArgument.Part[]
(package private) final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetParts()
getText()
static MessageArgument.Message
parseText
(com.mojang.brigadier.StringReader p_96847_, boolean p_96848_) (package private) Component
resolveComponent
(CommandSourceStack p_232197_) toComponent
(CommandSourceStack p_96850_, boolean p_96851_)
-
Field Details
-
text
-
parts
-
-
Constructor Details
-
Message
-
-
Method Details
-
getText
-
getParts
-
resolveComponent
Component resolveComponent(CommandSourceStack p_232197_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
toComponent
public Component toComponent(CommandSourceStack p_96850_, boolean p_96851_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
parseText
public static MessageArgument.Message parseText(com.mojang.brigadier.StringReader p_96847_, boolean p_96848_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-