minecraft-net 0.2.0

A library allowing easier communication via the minecraft protocol
Documentation
1
2
3
4
5
6
7
8
9
use minecraft_net_proc::Packet;
use crate::fields::types::TextComponent;

Packet!(DisguisedChatMessage, 0x1E, {
    message: TextComponent,
    chat_type: VarInt,
    sender_name: TextComponent,
    target: PrefixedOptional<TextComponent>,
});