Package net.minecraft.command.argument
Class NbtElementArgumentType
java.lang.Object
net.minecraft.command.argument.NbtElementArgumentType
- All Implemented Interfaces:
com.mojang.brigadier.arguments.ArgumentType<NbtElement>
public class NbtElementArgumentType
extends Object
implements com.mojang.brigadier.arguments.ArgumentType<NbtElement>
- Mappings:
Namespace Name named net/minecraft/command/argument/NbtElementArgumentType
intermediary net/minecraft/class_2212
official fj
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <S> NbtElement
getNbtElement
(com.mojang.brigadier.context.CommandContext<S> context, String name) static NbtElementArgumentType
parse
(com.mojang.brigadier.StringReader stringReader) 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
- Mappings:
Namespace Name Mixin selector named EXAMPLES
Lnet/minecraft/command/argument/NbtElementArgumentType;EXAMPLES:Ljava/util/Collection;
intermediary field_9918
Lnet/minecraft/class_2212;field_9918:Ljava/util/Collection;
official a
Lfj;a:Ljava/util/Collection;
-
-
Constructor Details
-
NbtElementArgumentType
private NbtElementArgumentType()
-
-
Method Details
-
nbtElement
- Mappings:
Namespace Name Mixin selector named nbtElement
Lnet/minecraft/command/argument/NbtElementArgumentType;nbtElement()Lnet/minecraft/command/argument/NbtElementArgumentType;
intermediary method_9389
Lnet/minecraft/class_2212;method_9389()Lnet/minecraft/class_2212;
official a
Lfj;a()Lfj;
-
getNbtElement
public static <S> NbtElement getNbtElement(com.mojang.brigadier.context.CommandContext<S> context, String name) - Mappings:
Namespace Name Mixin selector named getNbtElement
Lnet/minecraft/command/argument/NbtElementArgumentType;getNbtElement(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/nbt/NbtElement;
intermediary method_9390
Lnet/minecraft/class_2212;method_9390(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2520;
official a
Lfj;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Luu;
-
parse
public NbtElement parse(com.mojang.brigadier.StringReader stringReader) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Specified by:
parse
in interfacecom.mojang.brigadier.arguments.ArgumentType<NbtElement>
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/command/argument/NbtElementArgumentType;parse(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/nbt/NbtElement;
intermediary method_9388
Lnet/minecraft/class_2212;method_9388(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2520;
official a
Lfj;a(Lcom/mojang/brigadier/StringReader;)Luu;
-
getExamples
- Specified by:
getExamples
in interfacecom.mojang.brigadier.arguments.ArgumentType<NbtElement>
-