Interface MessageVerifier

All Known Implementing Classes:
MessageVerifier.Impl
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MessageVerifier
Verifies incoming messages' signature and the message chain.

Methods in this interface must be called in the order of the message's reception, as it affects the verification result.

Mappings:
Namespace Name
official tr
intermediary net/minecraft/class_7615
named net/minecraft/network/message/MessageVerifier
  • Field Details

    • NO_SIGNATURE

      static final MessageVerifier NO_SIGNATURE
      Mappings:
      Namespace Name Mixin selector
      official a Ltr;a:Ltr;
      intermediary field_40695 Lnet/minecraft/class_7615;field_40695:Lnet/minecraft/class_7615;
      named NO_SIGNATURE Lnet/minecraft/network/message/MessageVerifier;NO_SIGNATURE:Lnet/minecraft/network/message/MessageVerifier;
    • UNVERIFIED

      static final MessageVerifier UNVERIFIED
      Mappings:
      Namespace Name Mixin selector
      official b Ltr;b:Ltr;
      intermediary field_40696 Lnet/minecraft/class_7615;field_40696:Lnet/minecraft/class_7615;
      named UNVERIFIED Lnet/minecraft/network/message/MessageVerifier;UNVERIFIED:Lnet/minecraft/network/message/MessageVerifier;
  • Method Details

    • isVerified

      boolean isVerified(SignedMessage message)
      Mappings:
      Namespace Name Mixin selector
      official updateAndValidate Ltr;updateAndValidate(Ltl;)Z
      intermediary method_45048 Lnet/minecraft/class_7615;method_45048(Lnet/minecraft/class_7471;)Z
      named isVerified Lnet/minecraft/network/message/MessageVerifier;isVerified(Lnet/minecraft/network/message/SignedMessage;)Z