Interface MessageHandler.ProcessableMessage

Enclosing class:
MessageHandler

@Environment(CLIENT) private static interface MessageHandler.ProcessableMessage
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 Type
    Method
    Description
    boolean
    If this is not processed yet, adds the message to the hud; otherwise, processes the message header without adding to the hud.
    default boolean
    Returns true if this is not processed yet.
    default void
    Marks this as processed.
    default boolean
    If signature equals this message's signature, marks this as processed and returns true.
  • Method Details

    • removeMatching

      default boolean removeMatching(MessageSignatureData signature)
      If signature equals this message's signature, marks this as processed and returns true. Otherwise, returns false.
      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()
      Returns true 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