类 NbtCompoundTagArgumentType
- java.lang.Object
-
- net.minecraft.command.argument.NbtCompoundTagArgumentType
-
- 所有已实现的接口:
com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
public class NbtCompoundTagArgumentType extends Object implements com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
- Mappings:
Namespace Name official dmintermediary net/minecraft/class_2179named net/minecraft/command/argument/NbtCompoundTagArgumentType
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Collection<String>EXAMPLES
-
构造器概要
构造器 限定符 构造器 说明 privateNbtCompoundTagArgumentType()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 Collection<String>getExamples()static <S> CompoundTaggetNbtCompound(com.mojang.brigadier.context.CommandContext<S> context, String name)static NbtCompoundTagArgumentTypenbtCompound()CompoundTagparse(com.mojang.brigadier.StringReader stringReader)
-
-
-
字段详细资料
-
EXAMPLES
private static final Collection<String> EXAMPLES
- Mappings:
Namespace Name Mixin selector official aLdm;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;
-
-
方法详细资料
-
nbtCompound
public static NbtCompoundTagArgumentType nbtCompound()
- Mappings:
Namespace Name Mixin selector official aLdm;a()Ldm;intermediary method_9284Lnet/minecraft/class_2179;method_9284()Lnet/minecraft/class_2179;named nbtCompoundLnet/minecraft/command/argument/NbtCompoundTagArgumentType;nbtCompound()Lnet/minecraft/command/argument/NbtCompoundTagArgumentType;
-
getNbtCompound
public static <S> CompoundTag getNbtCompound(com.mojang.brigadier.context.CommandContext<S> context, String name)
- Mappings:
Namespace Name Mixin selector official aLdm;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lmv;intermediary method_9285Lnet/minecraft/class_2179;method_9285(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2487;named getNbtCompoundLnet/minecraft/command/argument/NbtCompoundTagArgumentType;getNbtCompound(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
- 指定者:
parse在接口中com.mojang.brigadier.arguments.ArgumentType<CompoundTag>- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLdm;a(Lcom/mojang/brigadier/StringReader;)Lmv;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
public Collection<String> getExamples()
- 指定者:
getExamples在接口中com.mojang.brigadier.arguments.ArgumentType<CompoundTag>- Mappings:
Namespace Name Mixin selector official getExamplesLdm;getExamples()Ljava/util/Collection;intermediary getExamplesLnet/minecraft/class_2179;getExamples()Ljava/util/Collection;named getExamplesLnet/minecraft/command/argument/NbtCompoundTagArgumentType;getExamples()Ljava/util/Collection;
-
-