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
15
16
use minecraft_net_proc::{Field, Packet};
Field!(Steps, {
    x: Double,
    y: Double,
    z: Double,
    velocity_x: Double,
    velocity_y: Double,
    velocity_z: Double,
    yaw: Angle,
    pitch: Angle,
    weight: Float,
});
Packet!(MoveMinecartAlongTrack, 0x31, {
    entity_id: VarInt,
    steps: PrefixedArray<Steps>,
});