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 SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentTypelistSuggestions
- 
Field Details- 
EXAMPLES
 
- 
- 
Constructor Details- 
CompoundTagArgumentprivate CompoundTagArgument()
 
- 
- 
Method Details- 
compoundTag
- 
getCompoundTagpublic static <S> CompoundTag getCompoundTag(com.mojang.brigadier.context.CommandContext<S> p_87661_, String p_87662_) 
- 
parsepublic CompoundTag parse(com.mojang.brigadier.StringReader p_87659_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
- parsein interface- com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
- Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
getExamples- Specified by:
- getExamplesin interface- com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
 
 
-