Interface MessageHandler.ProcessableMessage
- Enclosing class:
MessageHandler
A message to be processed. An instance is created for each received message.
- Mappings:
Namespace Name official eve$aintermediary net/minecraft/class_7594$class_7627named net/minecraft/client/network/message/MessageHandler$ProcessableMessage
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept()If this is not processed yet, adds the message to the hud; otherwise, processes the message header without adding to the hud.default booleanReturnstrueif this is not processed yet.default voidMarks this as processed.default booleanremoveMatching(MessageSignatureData signature) Ifsignatureequals this message's signature, marks this as processed and returnstrue.
-
Method Details
-
removeMatching
Ifsignatureequals this message's signature, marks this as processed and returnstrue. Otherwise, returnsfalse.- Returns:
- whether the passed signature matches the message's signature
- Mappings:
Namespace Name Mixin selector official aLeve$a;a(Lrz;)Zintermediary method_44947Lnet/minecraft/class_7594$class_7627;method_44947(Lnet/minecraft/class_7469;)Znamed removeMatchingLnet/minecraft/client/network/message/MessageHandler$ProcessableMessage;removeMatching(Lnet/minecraft/network/message/MessageSignatureData;)Z
-
markProcessed
default void markProcessed()Marks this as processed.- Mappings:
Namespace Name Mixin selector official aLeve$a;a()Vintermediary method_44946Lnet/minecraft/class_7594$class_7627;method_44946()Vnamed markProcessedLnet/minecraft/client/network/message/MessageHandler$ProcessableMessage;markProcessed()V
-
accept
boolean accept()If this is not processed yet, adds the message to the hud; otherwise, processes the message header without adding to the hud.- Mappings:
Namespace Name Mixin selector official acceptLeve$a;accept()Zintermediary acceptLnet/minecraft/class_7594$class_7627;accept()Znamed acceptLnet/minecraft/client/network/message/MessageHandler$ProcessableMessage;accept()Z
-
isUnprocessed
default boolean isUnprocessed()Returnstrueif this is not processed yet.- Returns:
trueif this is not processed yet- Mappings:
Namespace Name Mixin selector official bLeve$a;b()Zintermediary method_44948Lnet/minecraft/class_7594$class_7627;method_44948()Znamed isUnprocessedLnet/minecraft/client/network/message/MessageHandler$ProcessableMessage;isUnprocessed()Z
-