minecraft-net 0.2.0

A library allowing easier communication via the minecraft protocol
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use minecraft_net_proc::Packet;

Packet!(TeleportEntity, 0x20, {
    entity_id: VarInt,
    x: Double,
    y: Double,
    z: Double
    velocity_x: Double,
    velocity_y: Double,
    velocity_z: Double,
    yaw: Float,
    pitch: Float,
    on_ground: bool,
});