Interface MessageHandler.ProcessableMessage
- Enclosing class:
MessageHandler
A message to be processed. An instance is created for each received message.
- Mappings:
Namespace Name official eve$a
intermediary net/minecraft/class_7594$class_7627
named net/minecraft/client/network/message/MessageHandler$ProcessableMessage
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept()
If this is not processed yet, adds the message to the hud; otherwise, processes the message header without adding to the hud.default boolean
Returnstrue
if this is not processed yet.default void
Marks this as processed.default boolean
removeMatching
(MessageSignatureData signature) Ifsignature
equals this message's signature, marks this as processed and returnstrue
.
-
Method Details
-
removeMatching
Ifsignature
equals 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 a
Leve$a;a(Lrz;)Z
intermediary method_44947
Lnet/minecraft/class_7594$class_7627;method_44947(Lnet/minecraft/class_7469;)Z
named removeMatching
Lnet/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 a
Leve$a;a()V
intermediary method_44946
Lnet/minecraft/class_7594$class_7627;method_44946()V
named markProcessed
Lnet/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 accept
Leve$a;accept()Z
intermediary accept
Lnet/minecraft/class_7594$class_7627;accept()Z
named accept
Lnet/minecraft/client/network/message/MessageHandler$ProcessableMessage;accept()Z
-
isUnprocessed
default boolean isUnprocessed()Returnstrue
if this is not processed yet.- Returns:
true
if this is not processed yet- Mappings:
Namespace Name Mixin selector official b
Leve$a;b()Z
intermediary method_44948
Lnet/minecraft/class_7594$class_7627;method_44948()Z
named isUnprocessed
Lnet/minecraft/client/network/message/MessageHandler$ProcessableMessage;isUnprocessed()Z
-