类 NbtText.BlockNbtText

  • 所有已实现的接口:
    com.mojang.brigadier.Message, MutableText, ParsableText, StringVisitable, Text
    封闭类:
    NbtText

    public static class NbtText.BlockNbtText
    extends NbtText
    Mappings:
    Namespace Name
    official ou$a
    intermediary net/minecraft/class_2574$class_2575
    named net/minecraft/text/NbtText$BlockNbtText
    • 字段详细资料

      • rawPos

        private final String rawPos
        Mappings:
        Namespace Name Mixin selector
        official g Lou$a;g:Ljava/lang/String;
        intermediary field_11780 Lnet/minecraft/class_2574$class_2575;field_11780:Ljava/lang/String;
        named rawPos Lnet/minecraft/text/NbtText$BlockNbtText;rawPos:Ljava/lang/String;
      • pos

        @Nullable
        private final @Nullable PosArgument pos
        Mappings:
        Namespace Name Mixin selector
        official h Lou$a;h:Ler;
        intermediary field_16408 Lnet/minecraft/class_2574$class_2575;field_16408:Lnet/minecraft/class_2267;
        named pos Lnet/minecraft/text/NbtText$BlockNbtText;pos:Lnet/minecraft/command/argument/PosArgument;
    • 构造器详细资料

      • BlockNbtText

        public BlockNbtText​(String rawPath,
                            boolean rawJson,
                            String rawPos)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lou$a;<init>(Ljava/lang/String;ZLjava/lang/String;)V
        intermediary <init> Lnet/minecraft/class_2574$class_2575;<init>(Ljava/lang/String;ZLjava/lang/String;)V
        named <init> Lnet/minecraft/text/NbtText$BlockNbtText;<init>(Ljava/lang/String;ZLjava/lang/String;)V
      • BlockNbtText

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

      • parsePos

        @Nullable
        private @Nullable PosArgument parsePos​(String rawPos)
        Mappings:
        Namespace Name Mixin selector
        official d Lou$a;d(Ljava/lang/String;)Ler;
        intermediary method_16121 Lnet/minecraft/class_2574$class_2575;method_16121(Ljava/lang/String;)Lnet/minecraft/class_2267;
        named parsePos Lnet/minecraft/text/NbtText$BlockNbtText;parsePos(Ljava/lang/String;)Lnet/minecraft/command/argument/PosArgument;
      • getPos

        @Nullable
        public @Nullable String getPos()
        Mappings:
        Namespace Name Mixin selector
        official j Lou$a;j()Ljava/lang/String;
        intermediary method_10922 Lnet/minecraft/class_2574$class_2575;method_10922()Ljava/lang/String;
        named getPos Lnet/minecraft/text/NbtText$BlockNbtText;getPos()Ljava/lang/String;
      • copy

        public NbtText.BlockNbtText copy()
        从接口复制的说明: Text
        Copies the text itself, excluding the styles or siblings.
        指定者:
        copy 在接口中 Text
        指定者:
        copy 在类中 BaseText
        Mappings:
        Namespace Name Mixin selector
        official k Lou$a;k()Lou$a;
        intermediary method_10850 Lnet/minecraft/class_2574$class_2575;method_10850()Lnet/minecraft/class_2574$class_2575;
        named copy Lnet/minecraft/text/NbtText$BlockNbtText;copy()Lnet/minecraft/text/NbtText$BlockNbtText;
      • toNbt

        protected Stream<CompoundTag> toNbt​(ServerCommandSource source)
        指定者:
        toNbt 在类中 NbtText
        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;
      • equals

        public boolean equals​(Object obj)
        覆盖:
        equals 在类中 BaseText
        Mappings:
        Namespace Name Mixin selector
        official equals Loj;equals(Ljava/lang/Object;)Z
        intermediary equals Lnet/minecraft/class_2554;equals(Ljava/lang/Object;)Z
        named equals Lnet/minecraft/text/BaseText;equals(Ljava/lang/Object;)Z
      • toString

        public String toString()
        覆盖:
        toString 在类中 BaseText
        Mappings:
        Namespace Name Mixin selector
        official toString Loj;toString()Ljava/lang/String;
        intermediary toString Lnet/minecraft/class_2554;toString()Ljava/lang/String;
        named toString Lnet/minecraft/text/BaseText;toString()Ljava/lang/String;