public class NBTPathArgument extends java.lang.Object implements com.mojang.brigadier.arguments.ArgumentType<NBTPathArgument.NBTPath>
Modifier and Type | Class and Description |
---|---|
static class |
NBTPathArgument.NBTPath |
Constructor and Description |
---|
NBTPathArgument() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getExamples() |
static NBTPathArgument.NBTPath |
getNBTPath(com.mojang.brigadier.context.CommandContext<CommandSource> context,
java.lang.String name) |
static NBTPathArgument |
nbtPath() |
NBTPathArgument.NBTPath |
parse(com.mojang.brigadier.StringReader p_parse_1_) |
public static NBTPathArgument nbtPath()
public static NBTPathArgument.NBTPath getNBTPath(com.mojang.brigadier.context.CommandContext<CommandSource> context, java.lang.String name)
public NBTPathArgument.NBTPath parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<NBTPathArgument.NBTPath>
com.mojang.brigadier.exceptions.CommandSyntaxException
public java.util.Collection<java.lang.String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<NBTPathArgument.NBTPath>