类 NbtText

    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official g Lou;g:Lorg/apache/logging/log4j/Logger;
        intermediary field_11777 Lnet/minecraft/class_2574;field_11777:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/text/NbtText;LOGGER:Lorg/apache/logging/log4j/Logger;
      • field_33289

        private static final String field_33289
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official h Lou;h:Ljava/lang/String;
        intermediary field_33289 Lnet/minecraft/class_2574;field_33289:Ljava/lang/String;
        named field_33289 Lnet/minecraft/text/NbtText;field_33289:Ljava/lang/String;
      • interpret

        protected final boolean interpret
        Mappings:
        Namespace Name Mixin selector
        official d Lou;d:Z
        intermediary field_11778 Lnet/minecraft/class_2574;field_11778:Z
        named interpret Lnet/minecraft/text/NbtText;interpret:Z
      • rawPath

        protected final String rawPath
        Mappings:
        Namespace Name Mixin selector
        official e Lou;e:Ljava/lang/String;
        intermediary field_11776 Lnet/minecraft/class_2574;field_11776:Ljava/lang/String;
        named rawPath Lnet/minecraft/text/NbtText;rawPath:Ljava/lang/String;
      • path

        @Nullable
        protected final NbtPathArgumentType.NbtPath path
        Mappings:
        Namespace Name Mixin selector
        official f Lou;f:Ldw$g;
        intermediary field_11779 Lnet/minecraft/class_2574;field_11779:Lnet/minecraft/class_2203$class_2209;
        named path Lnet/minecraft/text/NbtText;path:Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
    • 构造器详细资料

      • NbtText

        public NbtText​(String rawPath,
                       boolean interpret)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lou;<init>(Ljava/lang/String;Z)V
        intermediary <init> Lnet/minecraft/class_2574;<init>(Ljava/lang/String;Z)V
        named <init> Lnet/minecraft/text/NbtText;<init>(Ljava/lang/String;Z)V
      • NbtText

        protected NbtText​(String rawPath,
                          @Nullable
                          NbtPathArgumentType.NbtPath path,
                          boolean interpret)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lou;<init>(Ljava/lang/String;Ldw$g;Z)V
        intermediary <init> Lnet/minecraft/class_2574;<init>(Ljava/lang/String;Lnet/minecraft/class_2203$class_2209;Z)V
        named <init> Lnet/minecraft/text/NbtText;<init>(Ljava/lang/String;Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;Z)V
    • 方法详细资料

      • parsePath

        @Nullable
        private static NbtPathArgumentType.NbtPath parsePath​(String rawPath)
        Mappings:
        Namespace Name Mixin selector
        official d Lou;d(Ljava/lang/String;)Ldw$g;
        intermediary method_10919 Lnet/minecraft/class_2574;method_10919(Ljava/lang/String;)Lnet/minecraft/class_2203$class_2209;
        named parsePath Lnet/minecraft/text/NbtText;parsePath(Ljava/lang/String;)Lnet/minecraft/command/argument/NbtPathArgumentType$NbtPath;
      • toNbt

        protected abstract Stream<CompoundTag> toNbt​(ServerCommandSource source)
                                              throws com.mojang.brigadier.exceptions.CommandSyntaxException
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lou;a(Ldg;)Ljava/util/stream/Stream;
        intermediary method_10916 Lnet/minecraft/class_2574;method_10916(Lnet/minecraft/class_2168;)Ljava/util/stream/Stream;
        named toNbt Lnet/minecraft/text/NbtText;toNbt(Lnet/minecraft/server/command/ServerCommandSource;)Ljava/util/stream/Stream;
      • getPath

        public String getPath()
        Mappings:
        Namespace Name Mixin selector
        official h Lou;h()Ljava/lang/String;
        intermediary method_10920 Lnet/minecraft/class_2574;method_10920()Ljava/lang/String;
        named getPath Lnet/minecraft/text/NbtText;getPath()Ljava/lang/String;
      • shouldInterpret

        public boolean shouldInterpret()
        Mappings:
        Namespace Name Mixin selector
        official i Lou;i()Z
        intermediary method_10921 Lnet/minecraft/class_2574;method_10921()Z
        named shouldInterpret Lnet/minecraft/text/NbtText;shouldInterpret()Z
      • parse

        public MutableText parse​(@Nullable
                                 @Nullable ServerCommandSource source,
                                 @Nullable
                                 @Nullable Entity sender,
                                 int depth)
                          throws com.mojang.brigadier.exceptions.CommandSyntaxException
        指定者:
        parse 在接口中 ParsableText
        抛出:
        com.mojang.brigadier.exceptions.CommandSyntaxException
        Mappings:
        Namespace Name Mixin selector
        official a Lop;a(Ldg;Lasl;I)Lot;
        intermediary method_10890 Lnet/minecraft/class_2566;method_10890(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;I)Lnet/minecraft/class_5250;
        named parse Lnet/minecraft/text/ParsableText;parse(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/Entity;I)Lnet/minecraft/text/MutableText;