Package net.minecraft.network.message
Record Class SentMessage.Profileless
java.lang.Object
java.lang.Record
net.minecraft.network.message.SentMessage.Profileless
- Record Components:
getContent
-
- All Implemented Interfaces:
SentMessage
- Enclosing interface:
SentMessage
The wrapper used for messages without associated source profile.
- Mappings:
Namespace Name official tk$a
intermediary net/minecraft/class_7604$class_7606
named net/minecraft/network/message/SentMessage$Profileless
official a
intermediary comp_1081
named getContent
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.network.message.SentMessage
SentMessage.Chat, SentMessage.Profileless
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Text
The field for thegetContent
record component. -
Constructor Summary
-
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.void
send
(ServerPlayerEntity sender, boolean filterMaskEnabled, MessageType.Parameters params) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
getContent
The field for thegetContent
record component.
-
-
Constructor Details
-
Profileless
-
-
Method Details
-
getContent
- Specified by:
getContent
in interfaceSentMessage
- Mappings:
Namespace Name Mixin selector official a
Ltk;a()Lsw;
intermediary comp_1081
Lnet/minecraft/class_7604;comp_1081()Lnet/minecraft/class_2561;
named getContent
Lnet/minecraft/network/message/SentMessage;getContent()Lnet/minecraft/text/Text;
-
send
public void send(ServerPlayerEntity sender, boolean filterMaskEnabled, MessageType.Parameters params) - Specified by:
send
in interfaceSentMessage
- Mappings:
Namespace Name Mixin selector official a
Ltk;a(Laig;ZLss$a;)V
intermediary method_45095
Lnet/minecraft/class_7604;method_45095(Lnet/minecraft/class_3222;ZLnet/minecraft/class_2556$class_7602;)V
named send
Lnet/minecraft/network/message/SentMessage;send(Lnet/minecraft/server/network/ServerPlayerEntity;ZLnet/minecraft/network/message/MessageType$Parameters;)V
-
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)
.
-