Record Class MessageHandler.MessageProcessor
java.lang.Object
java.lang.Record
net.minecraft.client.network.message.MessageHandler.MessageProcessor
- Record Components:
headerSignature-processor-
- Enclosing class:
MessageHandler
@Environment(CLIENT)
private static record MessageHandler.MessageProcessor(MessageSignatureData headerSignature, BooleanSupplier processor)
extends Record
- Mappings:
Namespace Name official euq$aintermediary net/minecraft/class_7594$class_7601named net/minecraft/client/network/message/MessageHandler$MessageProcessorofficial aintermediary comp_916named headerSignatureofficial bintermediary comp_917named processor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MessageSignatureDataThe field for theheaderSignaturerecord component.private final BooleanSupplierThe field for theprocessorrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionMessageProcessor(MessageSignatureData messageSignatureData, BooleanSupplier booleanSupplier) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.(package private) MessageSignatureDatafinal inthashCode()Returns a hash code value for this object.Returns the value of theheaderSignaturerecord component.booleanprocess()Returns the value of theprocessorrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
headerSignature
The field for theheaderSignaturerecord component. -
processor
The field for theprocessorrecord component.
-
-
Constructor Details
-
MessageProcessor
MessageProcessor(MessageSignatureData messageSignatureData, BooleanSupplier booleanSupplier)
-
-
Method Details
-
getHeaderSignature
MessageSignatureData getHeaderSignature()- Mappings:
Namespace Name Mixin selector official dLeuq$a;d()Lrr;intermediary method_44825Lnet/minecraft/class_7594$class_7601;method_44825()Lnet/minecraft/class_7469;named getHeaderSignatureLnet/minecraft/client/network/message/MessageHandler$MessageProcessor;getHeaderSignature()Lnet/minecraft/network/message/MessageSignatureData;
-
process
public boolean process()- Mappings:
Namespace Name Mixin selector official aLeuq$a;a()Zintermediary method_44824Lnet/minecraft/class_7594$class_7601;method_44824()Znamed processLnet/minecraft/client/network/message/MessageHandler$MessageProcessor;process()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). -
headerSignature
Returns the value of theheaderSignaturerecord component.- Returns:
- the value of the
headerSignaturerecord component
-
processor
Returns the value of theprocessorrecord component.- Returns:
- the value of the
processorrecord component
-