Package net.minecraft.command.arguments
Class NBTCompoundTagArgument
java.lang.Object
net.minecraft.command.arguments.NBTCompoundTagArgument
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<CompoundNBT>
public class NBTCompoundTagArgument
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<CompoundNBT>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NBTCompoundTagArgument
static <S> CompoundNBT
getCompoundTag
(com.mojang.brigadier.context.CommandContext<S> p_218042_0_, String p_218042_1_) parse
(com.mojang.brigadier.StringReader p_parse_1_) 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
-
NBTCompoundTagArgument
private NBTCompoundTagArgument()
-
-
Method Details
-
compoundTag
-
getCompoundTag
public static <S> CompoundNBT getCompoundTag(com.mojang.brigadier.context.CommandContext<S> p_218042_0_, String p_218042_1_) -
parse
public CompoundNBT parse(com.mojang.brigadier.StringReader p_parse_1_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<CompoundNBT>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<CompoundNBT>
-