ghast-protocol 0.4.0

Minecraft Java Edition network protocol for the ghast client library: generated per-version packets, framing, compression, encryption, NBT
Documentation
// @generated by ghast-codegen-protocol from PrismarineJS minecraft-data 3.119.0
// (pc/common/protocolVersions.json and the codegen's version list). Do not edit; run `cargo run -p ghast-codegen-protocol`.
// minecraft-data is MIT licensed, Copyright (c) 2015 PrismarineJS; see the NOTICE file
// in crates/ghast-protocol/src/generated/.

// Included by `crate::versions`.

/// Every protocol this build knows, ascending by protocol number; rows of versions
/// whose feature is off have `enabled == false`.
pub const TABLE: &[ProtocolVersion] = &[
    ProtocolVersion {
        protocol: 47,
        module: "v1_8",
        feature: "v1_8",
        name: "1.8.9",
        game_versions: &[
            "1.4.2", "1.8", "1.8.1", "1.8.2", "1.8.3", "1.8.4", "1.8.5", "1.8.6", "1.8.7", "1.8.8",
            "1.8.9",
        ],
        position_layout: PositionLayout::Xyz,
        configuration: false,
        enabled: cfg!(feature = "v1_8"),
    },
    ProtocolVersion {
        protocol: 340,
        module: "v1_12_2",
        feature: "v1_12_2",
        name: "1.12.2",
        game_versions: &["1.12.2"],
        position_layout: PositionLayout::Xyz,
        configuration: false,
        enabled: cfg!(feature = "v1_12_2"),
    },
    ProtocolVersion {
        protocol: 754,
        module: "v1_16_5",
        feature: "v1_16_5",
        name: "1.16.5",
        game_versions: &["1.16.4", "1.16.5"],
        position_layout: PositionLayout::Xzy,
        configuration: false,
        enabled: cfg!(feature = "v1_16_5"),
    },
    ProtocolVersion {
        protocol: 775,
        module: "v26_1",
        feature: "v26_1",
        name: "26.1.2",
        game_versions: &["26.1", "26.1.1", "26.1.2"],
        position_layout: PositionLayout::Xzy,
        configuration: true,
        enabled: cfg!(feature = "v26_1"),
    },
];