Package net.minecraft.commands.arguments
Class NbtTagArgument
java.lang.Object
net.minecraft.commands.arguments.NbtTagArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<Tag>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S> Tag
static NbtTagArgument
nbtTag()
parse
(com.mojang.brigadier.StringReader p_100661_) 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
-
NbtTagArgument
private NbtTagArgument()
-
-
Method Details
-
nbtTag
-
getNbtTag
-
parse
public Tag parse(com.mojang.brigadier.StringReader p_100661_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<Tag>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<Tag>
-