public class NbtCompoundTagArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
Modifier and Type | Field and Description |
---|---|
private static Collection<String> |
EXAMPLES |
Modifier | Constructor and Description |
---|---|
private |
NbtCompoundTagArgumentType() |
Modifier and Type | Method and Description |
---|---|
static <S> CompoundTag |
getCompoundTag(com.mojang.brigadier.context.CommandContext<S> context,
String name) |
Collection<String> |
getExamples() |
static NbtCompoundTagArgumentType |
nbtCompound() |
CompoundTag |
parse(com.mojang.brigadier.StringReader stringReader) |
private static final Collection<String> EXAMPLES
public static NbtCompoundTagArgumentType nbtCompound()
public static <S> CompoundTag getCompoundTag(com.mojang.brigadier.context.CommandContext<S> context, String name)
public CompoundTag parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException
parse
in interface com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
com.mojang.brigadier.exceptions.CommandSyntaxException
public Collection<String> getExamples()
getExamples
in interface com.mojang.brigadier.arguments.ArgumentType<CompoundTag>