类 NbtCompoundTagArgumentType

  • 所有已实现的接口:
    com.mojang.brigadier.arguments.ArgumentType<CompoundTag>

    public class NbtCompoundTagArgumentType
    extends Object
    implements com.mojang.brigadier.arguments.ArgumentType<CompoundTag>
    Mappings:
    Namespace Name
    official dm
    intermediary net/minecraft/class_2179
    named net/minecraft/command/argument/NbtCompoundTagArgumentType
    • 字段详细资料

      • EXAMPLES

        private static final Collection<String> EXAMPLES
        Mappings:
        Namespace Name Mixin selector
        official a Ldm;a:Ljava/util/Collection;
        intermediary field_9843 Lnet/minecraft/class_2179;field_9843:Ljava/util/Collection;
        named EXAMPLES Lnet/minecraft/command/argument/NbtCompoundTagArgumentType;EXAMPLES:Ljava/util/Collection;
    • 构造器详细资料

      • NbtCompoundTagArgumentType

        private NbtCompoundTagArgumentType()
    • 方法详细资料

      • nbtCompound

        public static NbtCompoundTagArgumentType nbtCompound()
        Mappings:
        Namespace Name Mixin selector
        official a Ldm;a()Ldm;
        intermediary method_9284 Lnet/minecraft/class_2179;method_9284()Lnet/minecraft/class_2179;
        named nbtCompound Lnet/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 a Ldm;a(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lmv;
        intermediary method_9285 Lnet/minecraft/class_2179;method_9285(Lcom/mojang/brigadier/context/CommandContext;Ljava/lang/String;)Lnet/minecraft/class_2487;
        named getNbtCompound Lnet/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 a Ldm;a(Lcom/mojang/brigadier/StringReader;)Lmv;
        intermediary method_9286 Lnet/minecraft/class_2179;method_9286(Lcom/mojang/brigadier/StringReader;)Lnet/minecraft/class_2487;
        named parse Lnet/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 getExamples Ldm;getExamples()Ljava/util/Collection;
        intermediary getExamples Lnet/minecraft/class_2179;getExamples()Ljava/util/Collection;
        named getExamples Lnet/minecraft/command/argument/NbtCompoundTagArgumentType;getExamples()Ljava/util/Collection;