Package net.minecraft.server.filter
Record Class Message<T>
java.lang.Object
java.lang.Record
net.minecraft.server.filter.Message<T>
- Record Components:
raw
-filtered
-
- Mappings:
Namespace Name official agd
intermediary net/minecraft/class_5837
named net/minecraft/server/filter/Message
official b
intermediary comp_841
named raw
official c
intermediary comp_842
named filtered
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Message<T>
censored
(T t) final boolean
Indicates whether some other object is "equal to" this one.filtered()
Returns the value of thefiltered
record component.boolean
final int
hashCode()
Returns a hash code value for this object.method_44149
(ServerPlayerEntity serverPlayerEntity, ServerPlayerEntity serverPlayerEntity2) method_44150
(ServerCommandSource serverCommandSource, ServerPlayerEntity serverPlayerEntity) <U> Message<U>
method_44151
(Function<T, U> function) boolean
method_44153
(T t) static <T> Message<T>
permitted
(T t) 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. -
filtered
The field for thefiltered
record component. -
EMPTY
- Mappings:
Namespace Name Mixin selector official a
Lagd;a:Lagd;
intermediary field_28863
Lnet/minecraft/class_5837;field_28863:Lnet/minecraft/class_5837;
named EMPTY
Lnet/minecraft/server/filter/Message;EMPTY:Lnet/minecraft/server/filter/Message;
-
-
Constructor Details
-
Message
-
-
Method Details
-
permitted
- Mappings:
Namespace Name Mixin selector official a
Lagd;a(Ljava/lang/Object;)Lagd;
intermediary method_33802
Lnet/minecraft/class_5837;method_33802(Ljava/lang/Object;)Lnet/minecraft/class_5837;
named permitted
Lnet/minecraft/server/filter/Message;permitted(Ljava/lang/Object;)Lnet/minecraft/server/filter/Message;
-
censored
- Mappings:
Namespace Name Mixin selector official b
Lagd;b(Ljava/lang/Object;)Lagd;
intermediary method_33804
Lnet/minecraft/class_5837;method_33804(Ljava/lang/Object;)Lnet/minecraft/class_5837;
named censored
Lnet/minecraft/server/filter/Message;censored(Ljava/lang/Object;)Lnet/minecraft/server/filter/Message;
-
method_44151
- Mappings:
Namespace Name Mixin selector official a
Lagd;a(Ljava/util/function/Function;)Lagd;
intermediary method_44151
Lnet/minecraft/class_5837;method_44151(Ljava/util/function/Function;)Lnet/minecraft/class_5837;
named method_44151
Lnet/minecraft/server/filter/Message;method_44151(Ljava/util/function/Function;)Lnet/minecraft/server/filter/Message;
-
hasFilteredText
public boolean hasFilteredText()- Mappings:
Namespace Name Mixin selector official a
Lagd;a()Z
intermediary method_43933
Lnet/minecraft/class_5837;method_43933()Z
named hasFilteredText
Lnet/minecraft/server/filter/Message;hasFilteredText()Z
-
method_44152
public boolean method_44152()- Mappings:
Namespace Name Mixin selector official b
Lagd;b()Z
intermediary method_44152
Lnet/minecraft/class_5837;method_44152()Z
named method_44152
Lnet/minecraft/server/filter/Message;method_44152()Z
-
method_44153
- Mappings:
Namespace Name Mixin selector official c
Lagd;c(Ljava/lang/Object;)Ljava/lang/Object;
intermediary method_44153
Lnet/minecraft/class_5837;method_44153(Ljava/lang/Object;)Ljava/lang/Object;
named method_44153
Lnet/minecraft/server/filter/Message;method_44153(Ljava/lang/Object;)Ljava/lang/Object;
-
method_44149
@Nullable public T method_44149(ServerPlayerEntity serverPlayerEntity, ServerPlayerEntity serverPlayerEntity2) - Mappings:
Namespace Name Mixin selector official a
Lagd;a(Lafp;Lafp;)Ljava/lang/Object;
intermediary method_44149
Lnet/minecraft/class_5837;method_44149(Lnet/minecraft/class_3222;Lnet/minecraft/class_3222;)Ljava/lang/Object;
named method_44149
Lnet/minecraft/server/filter/Message;method_44149(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/server/network/ServerPlayerEntity;)Ljava/lang/Object;
-
method_44150
@Nullable public T method_44150(ServerCommandSource serverCommandSource, ServerPlayerEntity serverPlayerEntity) - Mappings:
Namespace Name Mixin selector official a
Lagd;a(Ldr;Lafp;)Ljava/lang/Object;
intermediary method_44150
Lnet/minecraft/class_5837;method_44150(Lnet/minecraft/class_2168;Lnet/minecraft/class_3222;)Ljava/lang/Object;
named method_44150
Lnet/minecraft/server/filter/Message;method_44150(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/server/network/ServerPlayerEntity;)Ljava/lang/Object;
-
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
-
filtered
Returns the value of thefiltered
record component.- Returns:
- the value of the
filtered
record component
-