Package net.minecraft.command.argument
Class NbtCompoundArgumentType
java.lang.Object
net.minecraft.command.argument.NbtCompoundArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<NbtCompound>
public class NbtCompoundArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<NbtCompound>
- Mappings:
Namespace Name named net/minecraft/command/argument/NbtCompoundArgumentTypeintermediary net/minecraft/class_2179official fd
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <S> NbtCompoundgetNbtCompound(com.mojang.brigadier.context.CommandContext<S> context, String name) static NbtCompoundArgumentTypeparse(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 named EXAMPLESLnet/minecraft/command/argument/NbtCompoundArgumentType;EXAMPLES:Ljava/util/Collection;intermediary field_9843Lnet/minecraft/class_2179;field_9843:Ljava/util/Collection;official aLfd;a:Ljava/util/Collection;
-
-
Constructor Details
-
NbtCompoundArgumentType
private NbtCompoundArgumentType()
-
-
Method Details
-
nbtCompound
- Mappings:
Namespace Name Mixin selector named nbtCompoundLnet/minecraft/command/argument/NbtCompoundArgumentType;nbtCompound()Lnet/minecraft/command/argument/NbtCompoundArgumentType;intermediary method_9284Lnet/minecraft/class_2179;method_9284()Lnet/minecraft/class_2179;official aLfd;a()Lfd;
-
getNbtCompound
public static <S> NbtCompound getNbtCompound(com.mojang.brigadier.context.CommandContext<S> context, String name) - Mappings:
Namespace Name Mixin selector named getNbtCompoundLnet/minecraft/command/argument/NbtCompoundArgumentType;getNbtCompound(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/nbt/NbtCompound;intermediary method_9285Lnet/minecraft/class_2179;method_9285(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2487;official aLfd;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lub;
-
parse
public NbtCompound parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parsein interfacecom.mojang.brigadier.arguments.ArgumentType<NbtCompound>- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector named parseLnet/minecraft/command/argument/NbtCompoundArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/nbt/NbtCompound;intermediary method_9286Lnet/minecraft/class_2179;method_9286(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2487;official aLfd;a(Lcom/mojang/brigadier/StringReader;)Lub;
-
getExamples
- Specified by:
getExamplesin interfacecom.mojang.brigadier.arguments.ArgumentType<NbtCompound>
-