mirror of https://github.com/FabricMC/yarn.git
37 lines
1.8 KiB
Plaintext
37 lines
1.8 KiB
Plaintext
CLASS net/minecraft/class_5837 net/minecraft/server/filter/FilteredMessage
|
|
COMMENT A message from the {@link TextFilterer}.
|
|
FIELD comp_841 raw Ljava/lang/Object;
|
|
COMMENT the raw (or "original") message
|
|
FIELD comp_842 filtered Ljava/lang/Object;
|
|
COMMENT the filtered message, or {@code null} if everything was filtered ("censored")
|
|
FIELD field_28863 EMPTY Lnet/minecraft/class_5837;
|
|
METHOD comp_841 raw ()Ljava/lang/Object;
|
|
METHOD comp_842 filtered ()Ljava/lang/Object;
|
|
METHOD method_33802 permitted (Ljava/lang/Object;)Lnet/minecraft/class_5837;
|
|
COMMENT {@return the message with nothing filtered}
|
|
ARG 0 filterable
|
|
METHOD method_33804 censored (Ljava/lang/Object;)Lnet/minecraft/class_5837;
|
|
COMMENT {@return the message with everything filtered}
|
|
ARG 0 filterable
|
|
METHOD method_43933 isFiltered ()Z
|
|
COMMENT {@return if some of the messages are filtered}
|
|
METHOD method_44149 getFilterableFor (Lnet/minecraft/class_3222;Lnet/minecraft/class_3222;)Ljava/lang/Object;
|
|
ARG 1 sender
|
|
ARG 2 receiver
|
|
METHOD method_44150 getFilterableFor (Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;)Ljava/lang/Object;
|
|
ARG 1 source
|
|
ARG 2 receiver
|
|
METHOD method_44151 map (Ljava/util/function/Function;)Lnet/minecraft/class_5837;
|
|
ARG 1 mapper
|
|
METHOD method_44152 isCensored ()Z
|
|
COMMENT {@return if all of the messages are filtered, e.g. by using {@link #censored}}
|
|
METHOD method_44153 filteredOrElse (Ljava/lang/Object;)Ljava/lang/Object;
|
|
ARG 1 filterable
|
|
METHOD method_44787 map (Ljava/util/function/Function;Ljava/util/function/Function;)Lnet/minecraft/class_5837;
|
|
ARG 1 rawMapper
|
|
ARG 2 filteredMapper
|
|
METHOD method_44788 get (Z)Ljava/lang/Object;
|
|
COMMENT {@return {@link #filtered} if {@code filtered} is {@code true}, otherwise
|
|
COMMENT {@link #raw}}
|
|
ARG 1 filtered
|