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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompoundTagArgumentstatic <S> CompoundTaggetCompoundTag(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, waitMethods 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:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<CompoundTag>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- Specified by:
getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<CompoundTag>
-