yarn/mappings/net/minecraft/client/search/TextSearcher.mapping

18 lines
902 B
Plaintext

CLASS net/minecraft/class_7454 net/minecraft/client/search/TextSearcher
COMMENT A functional interface that allows searching with a text.
METHOD method_43793 of ()Lnet/minecraft/class_7454;
COMMENT {@return a searcher that always returns no results}
METHOD method_43794 (Lnet/minecraft/class_1128;Ljava/lang/Object;Ljava/lang/String;)V
ARG 2 text
METHOD method_43795 (Ljava/lang/String;)Ljava/util/List;
ARG 0 text
METHOD method_43796 of (Ljava/util/List;Ljava/util/function/Function;)Lnet/minecraft/class_7454;
COMMENT {@return a searcher that searches from {@code values}}
ARG 0 values
ARG 1 textsGetter
COMMENT a function that, when given a value from {@code values}, returns a
COMMENT stream of search texts associated with the value
METHOD search (Ljava/lang/String;)Ljava/util/List;
COMMENT {@return the results of searching with the provided {@code text}}
ARG 1 text