Package net.minecraft.commands.arguments
Class CompoundTagArgument
java.lang.Object
net.minecraft.commands.arguments.CompoundTagArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
public class CompoundTagArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CompoundTagArgument
static <S> CompoundTag
getCompoundTag
(com.mojang.brigadier.context.CommandContext<S> p_87661_, String p_87662_) parse
(com.mojang.brigadier.StringReader p_87659_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions
-
Field Details
-
EXAMPLES
-
-
Constructor Details
-
CompoundTagArgument
private CompoundTagArgument()
-
-
Method Details
-
compoundTag
-
getCompoundTag
public static <S> CompoundTag getCompoundTag(com.mojang.brigadier.context.CommandContext<S> p_87661_, String p_87662_) -
parse
public CompoundTag parse(com.mojang.brigadier.StringReader p_87659_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<CompoundTag>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<CompoundTag>
-