Interface MessageChain.Unpacker

Enclosing class:
MessageChain
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 static interface MessageChain.Unpacker
Unpacker creates a signed message on the server with the server's preceding message index when they receive a message. Unpacked messages can then be verified to check the message chain's legitimacy.
See Also:
Mappings:
Namespace Name
official ue$b
intermediary net/minecraft/class_7610$class_7611
named net/minecraft/network/message/MessageChain$Unpacker
  • Field Details

    • NOT_INITIALIZED

      static final MessageChain.Unpacker NOT_INITIALIZED
      An unpacker used when the session is not initialized yet and the secure profile is enforced. This always throws the missing profile key exception.
      Mappings:
      Namespace Name Mixin selector
      official a Lue$b;a:Lue$b;
      intermediary field_40848 Lnet/minecraft/class_7610$class_7611;field_40848:Lnet/minecraft/class_7610$class_7611;
      named NOT_INITIALIZED Lnet/minecraft/network/message/MessageChain$Unpacker;NOT_INITIALIZED:Lnet/minecraft/network/message/MessageChain$Unpacker;
  • Method Details

    • unsigned

      static MessageChain.Unpacker unsigned(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      official unsigned Lue$b;unsigned(Ljava/util/UUID;)Lue$b;
      intermediary unsigned Lnet/minecraft/class_7610$class_7611;unsigned(Ljava/util/UUID;)Lnet/minecraft/class_7610$class_7611;
      named unsigned Lnet/minecraft/network/message/MessageChain$Unpacker;unsigned(Ljava/util/UUID;)Lnet/minecraft/network/message/MessageChain$Unpacker;
    • unpack

      Throws:
      MessageChain.MessageChainException
      Mappings:
      Namespace Name Mixin selector
      official unpack Lue$b;unpack(Ltw;Lud;)Lua;
      intermediary unpack Lnet/minecraft/class_7610$class_7611;unpack(Lnet/minecraft/class_7469;Lnet/minecraft/class_7608;)Lnet/minecraft/class_7471;
      named unpack Lnet/minecraft/network/message/MessageChain$Unpacker;unpack(Lnet/minecraft/network/message/MessageSignatureData;Lnet/minecraft/network/message/MessageBody;)Lnet/minecraft/network/message/SignedMessage;