Package net.minecraft.server.filter
Record Class FilteredMessage
java.lang.Object
java.lang.Record
net.minecraft.server.filter.FilteredMessage
- Record Components:
- raw- the raw (or "original") message
- mask-
A message from the 
TextFilterer.- Mappings:
- Namespace - Name - official - aiu- intermediary - net/minecraft/class_5837- named - net/minecraft/server/filter/FilteredMessage- official - b- intermediary - comp_841- named - raw- official - c- intermediary - comp_978- named - mask
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final FilteredMessageprivate final FilterMaskThe field for themaskrecord component.private final StringThe field for therawrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic FilteredMessagefinal booleanIndicates whether some other object is "equal to" this one.filter()final inthashCode()Returns a hash code value for this object.booleanmask()Returns the value of themaskrecord component.static FilteredMessageraw()Returns the value of therawrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
rawThe field for therawrecord component.
- 
maskThe field for themaskrecord component.
- 
EMPTY- Mappings:
- Namespace - Name - Mixin selector - official - a- Laiu;a:Laiu;- intermediary - field_28863- Lnet/minecraft/class_5837;field_28863:Lnet/minecraft/class_5837;- named - EMPTY- Lnet/minecraft/server/filter/FilteredMessage;EMPTY:Lnet/minecraft/server/filter/FilteredMessage;
 
 
- 
- 
Constructor Details- 
FilteredMessage
 
- 
- 
Method Details- 
permitted- Mappings:
- Namespace - Name - Mixin selector - official - a- Laiu;a(Ljava/lang/String;)Laiu;- intermediary - method_45060- Lnet/minecraft/class_5837;method_45060(Ljava/lang/String;)Lnet/minecraft/class_5837;- named - permitted- Lnet/minecraft/server/filter/FilteredMessage;permitted(Ljava/lang/String;)Lnet/minecraft/server/filter/FilteredMessage;
 
- 
censored- Mappings:
- Namespace - Name - Mixin selector - official - b- Laiu;b(Ljava/lang/String;)Laiu;- intermediary - method_45062- Lnet/minecraft/class_5837;method_45062(Ljava/lang/String;)Lnet/minecraft/class_5837;- named - censored- Lnet/minecraft/server/filter/FilteredMessage;censored(Ljava/lang/String;)Lnet/minecraft/server/filter/FilteredMessage;
 
- 
filter- Mappings:
- Namespace - Name - Mixin selector - official - a- Laiu;a()Ljava/lang/String;- intermediary - method_45059- Lnet/minecraft/class_5837;method_45059()Ljava/lang/String;- named - filter- Lnet/minecraft/server/filter/FilteredMessage;filter()Ljava/lang/String;
 
- 
getString- Mappings:
- Namespace - Name - Mixin selector - official - b- Laiu;b()Ljava/lang/String;- intermediary - method_45061- Lnet/minecraft/class_5837;method_45061()Ljava/lang/String;- named - getString- Lnet/minecraft/server/filter/FilteredMessage;getString()Ljava/lang/String;
 
- 
isFilteredpublic boolean isFiltered()- Mappings:
- Namespace - Name - Mixin selector - official - c- Laiu;c()Z- intermediary - method_45063- Lnet/minecraft/class_5837;method_45063()Z- named - isFiltered- Lnet/minecraft/server/filter/FilteredMessage;isFiltered()Z
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object).
- 
rawReturns the value of therawrecord component.- Returns:
- the value of the rawrecord component
 
- 
maskReturns the value of themaskrecord component.- Returns:
- the value of the maskrecord component
 
 
-