Package net.minecraft.network.message
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.
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 named net/minecraft/network/message/MessageChain$Unpackerintermediary net/minecraft/class_7610$class_7611official xt$b
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidunpack(@Nullable MessageSignatureData signature, MessageBody body) static MessageChain.Unpackerunsigned(UUID sender, BooleanSupplier secureProfileEnforced)
-
Method Details
-
unsigned
- Mappings:
Namespace Name Mixin selector named unsignedLnet/minecraft/network/message/MessageChain$Unpacker;unsigned(Ljava/util/UUID;Ljava/util/function/BooleanSupplier;)Lnet/minecraft/network/message/MessageChain$Unpacker;intermediary unsignedLnet/minecraft/class_7610$class_7611;unsigned(Ljava/util/UUID;Ljava/util/function/BooleanSupplier;)Lnet/minecraft/class_7610$class_7611;official unsignedLxt$b;unsigned(Ljava/util/UUID;Ljava/util/function/BooleanSupplier;)Lxt$b;
-
unpack
SignedMessage unpack(@Nullable @Nullable MessageSignatureData signature, MessageBody body) throws MessageChain.MessageChainException - Throws:
MessageChain.MessageChainException- Mappings:
Namespace Name Mixin selector named unpackLnet/minecraft/network/message/MessageChain$Unpacker;unpack(Lnet/minecraft/network/message/MessageSignatureData;Lnet/minecraft/network/message/MessageBody;)Lnet/minecraft/network/message/SignedMessage;intermediary unpackLnet/minecraft/class_7610$class_7611;unpack(Lnet/minecraft/class_7469;Lnet/minecraft/class_7608;)Lnet/minecraft/class_7471;official unpackLxt$b;unpack(Lxl;Lxs;)Lxp;
-
setChainBroken
default void setChainBroken()
-