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") messagemask
-
A message from the
TextFilterer
.- Mappings:
Namespace Name official agv
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final FilteredMessage
private final class_7649
The field for themask
record component.private final String
The field for theraw
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.mask()
Returns the value of themask
record component.static FilteredMessage
method_45060
(String string) static FilteredMessage
method_45062
(String string) boolean
raw()
Returns the value of theraw
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
raw
The field for theraw
record component. -
mask
The field for themask
record component. -
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Lagv;a:Lagv;
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
-
method_45060
- Mappings:
Namespace Name Mixin selector official a
Lagv;a(Ljava/lang/String;)Lagv;
intermediary method_45060
Lnet/minecraft/class_5837;method_45060(Ljava/lang/String;)Lnet/minecraft/class_5837;
named method_45060
Lnet/minecraft/server/filter/FilteredMessage;method_45060(Ljava/lang/String;)Lnet/minecraft/server/filter/FilteredMessage;
-
method_45062
- Mappings:
Namespace Name Mixin selector official b
Lagv;b(Ljava/lang/String;)Lagv;
intermediary method_45062
Lnet/minecraft/class_5837;method_45062(Ljava/lang/String;)Lnet/minecraft/class_5837;
named method_45062
Lnet/minecraft/server/filter/FilteredMessage;method_45062(Ljava/lang/String;)Lnet/minecraft/server/filter/FilteredMessage;
-
method_45059
- Mappings:
Namespace Name Mixin selector official a
Lagv;a()Ljava/lang/String;
intermediary method_45059
Lnet/minecraft/class_5837;method_45059()Ljava/lang/String;
named method_45059
Lnet/minecraft/server/filter/FilteredMessage;method_45059()Ljava/lang/String;
-
method_45061
- Mappings:
Namespace Name Mixin selector official b
Lagv;b()Ljava/lang/String;
intermediary method_45061
Lnet/minecraft/class_5837;method_45061()Ljava/lang/String;
named method_45061
Lnet/minecraft/server/filter/FilteredMessage;method_45061()Ljava/lang/String;
-
method_45063
public boolean method_45063()- Mappings:
Namespace Name Mixin selector official c
Lagv;c()Z
intermediary method_45063
Lnet/minecraft/class_5837;method_45063()Z
named method_45063
Lnet/minecraft/server/filter/FilteredMessage;method_45063()Z
-
toString
Returns 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. -
hashCode
public 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. -
equals
Indicates 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)
. -
raw
Returns the value of theraw
record component.- Returns:
- the value of the
raw
record component
-
mask
Returns the value of themask
record component.- Returns:
- the value of the
mask
record component
-