类 SelectorText

    • 字段详细资料

      • LOGGER

        private static final Logger LOGGER
        Mappings:
        Namespace Name Mixin selector
        official d Low;d:Lorg/apache/logging/log4j/Logger;
        intermediary field_11791 Lnet/minecraft/class_2579;field_11791:Lorg/apache/logging/log4j/Logger;
        named LOGGER Lnet/minecraft/text/SelectorText;LOGGER:Lorg/apache/logging/log4j/Logger;
      • pattern

        private final String pattern
        Mappings:
        Namespace Name Mixin selector
        official e Low;e:Ljava/lang/String;
        intermediary field_11789 Lnet/minecraft/class_2579;field_11789:Ljava/lang/String;
        named pattern Lnet/minecraft/text/SelectorText;pattern:Ljava/lang/String;
      • selector

        @Nullable
        private final @Nullable EntitySelector selector
        Mappings:
        Namespace Name Mixin selector
        official f Low;f:Lfh;
        intermediary field_11790 Lnet/minecraft/class_2579;field_11790:Lnet/minecraft/class_2300;
        named selector Lnet/minecraft/text/SelectorText;selector:Lnet/minecraft/command/EntitySelector;
    • 构造器详细资料

      • SelectorText

        public SelectorText​(String pattern)
        Mappings:
        Namespace Name Mixin selector
        official <init> Low;<init>(Ljava/lang/String;)V
        intermediary <init> Lnet/minecraft/class_2579;<init>(Ljava/lang/String;)V
        named <init> Lnet/minecraft/text/SelectorText;<init>(Ljava/lang/String;)V
    • 方法详细资料

      • getPattern

        public String getPattern()
        Mappings:
        Namespace Name Mixin selector
        official h Low;h()Ljava/lang/String;
        intermediary method_10932 Lnet/minecraft/class_2579;method_10932()Ljava/lang/String;
        named getPattern Lnet/minecraft/text/SelectorText;getPattern()Ljava/lang/String;
      • getSelector

        @Nullable
        public @Nullable EntitySelector getSelector()
        Mappings:
        Namespace Name Mixin selector
        official i Low;i()Lfh;
        intermediary method_36138 Lnet/minecraft/class_2579;method_36138()Lnet/minecraft/class_2300;
        named getSelector Lnet/minecraft/text/SelectorText;getSelector()Lnet/minecraft/command/EntitySelector;
      • 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;
      • asString

        public String asString()
        Returns the string representation of this text itself, excluding siblings.
        指定者:
        asString 在接口中 Text
        覆盖:
        asString 在类中 BaseText
        Mappings:
        Namespace Name Mixin selector
        official a Lon;a()Ljava/lang/String;
        intermediary method_10851 Lnet/minecraft/class_2561;method_10851()Ljava/lang/String;
        named asString Lnet/minecraft/text/Text;asString()Ljava/lang/String;
      • copy

        public SelectorText copy()
        从接口复制的说明: Text
        Copies the text itself, excluding the styles or siblings.
        指定者:
        copy 在接口中 Text
        指定者:
        copy 在类中 BaseText
        Mappings:
        Namespace Name Mixin selector
        official j Low;j()Low;
        intermediary method_10931 Lnet/minecraft/class_2579;method_10931()Lnet/minecraft/class_2579;
        named copy Lnet/minecraft/text/SelectorText;copy()Lnet/minecraft/text/SelectorText;
      • 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;