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 ug
intermediary net/minecraft/class_7615
named net/minecraft/network/message/MessageVerifier
  • Field Details

    • LOGGER

      static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lug;a:Lorg/slf4j/Logger;
      intermediary field_45957 Lnet/minecraft/class_7615;field_45957:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/network/message/MessageVerifier;LOGGER:Lorg/slf4j/Logger;
    • NO_SIGNATURE

      static final MessageVerifier NO_SIGNATURE
      Mappings:
      Namespace Name Mixin selector
      official b Lug;b:Lug;
      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 c Lug;c:Lug;
      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 Lug;updateAndValidate(Lua;)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