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 |
Modifier and Type | Field and Description |
---|---|
static com.mojang.brigadier.exceptions.DynamicCommandExceptionType |
field_218084_b |
static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
PATH_MALFORMED |
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 final com.mojang.brigadier.exceptions.SimpleCommandExceptionType PATH_MALFORMED
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType field_218084_b
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>