Package net.minecraft.command.argument
Class NbtCompoundTagArgumentType
java.lang.Object
net.minecraft.command.argument.NbtCompoundTagArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
public class NbtCompoundTagArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
- Mappings:
Namespace Name official dhintermediary net/minecraft/class_2179named net/minecraft/command/argument/NbtCompoundTagArgumentType
-
Field Summary
Fields Modifier and Type Field Description private static Collection<String>EXAMPLES -
Constructor Summary
Constructors Modifier Constructor Description privateNbtCompoundTagArgumentType() -
Method Summary
Modifier and Type Method Description static <S> CompoundTaggetCompoundTag(com.mojang.brigadier.context.CommandContext<S> context, String name)Collection<String>getExamples()static NbtCompoundTagArgumentTypenbtCompound()CompoundTagparse(com.mojang.brigadier.StringReader stringReader)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.brigadier.arguments.ArgumentType
listSuggestions
-
Field Details
-
EXAMPLES
- Mappings:
Namespace Name Mixin selector official aLdh;a:Ljava/util/Collection;intermediary field_9843Lnet/minecraft/class_2179;field_9843:Ljava/util/Collection;named EXAMPLESLnet/minecraft/command/argument/NbtCompoundTagArgumentType;EXAMPLES:Ljava/util/Collection;
-
-
Constructor Details
-
NbtCompoundTagArgumentType
private NbtCompoundTagArgumentType()
-
-
Method Details
-
nbtCompound
- Mappings:
Namespace Name Mixin selector official aLdh;a()Ldh;intermediary method_9284Lnet/minecraft/class_2179;method_9284()Lnet/minecraft/class_2179;named nbtCompoundLnet/minecraft/command/argument/NbtCompoundTagArgumentType;nbtCompound()Lnet/minecraft/command/argument/NbtCompoundTagArgumentType;
-
getCompoundTag
public static <S> CompoundTag getCompoundTag(com.mojang.brigadier.context.CommandContext<S> context, String name)- Mappings:
Namespace Name Mixin selector official aLdh;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lmr;intermediary method_9285Lnet/minecraft/class_2179;method_9285(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2487;named getCompoundTagLnet/minecraft/command/argument/NbtCompoundTagArgumentType;getCompoundTag(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/nbt/CompoundTag;
-
parse
public CompoundTag parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<CompoundTag>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLdh;a(Lcom/mojang/brigadier/StringReader;)Lmr;intermediary method_9286Lnet/minecraft/class_2179;method_9286(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2487;named parseLnet/minecraft/command/argument/NbtCompoundTagArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/nbt/CompoundTag;
-
getExamples
- Specified by:
getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<CompoundTag>- Mappings:
Namespace Name Mixin selector official getExamplesLdh;getExamples()Ljava/util/Collection;intermediary getExamplesLnet/minecraft/class_2179;getExamples()Ljava/util/Collection;named getExamplesLnet/minecraft/command/argument/NbtCompoundTagArgumentType;getExamples()Ljava/util/Collection;
-