ghast-data 0.2.3

Static Minecraft Java Edition game data for the ghast client library: blocks, block states, collision shapes, items, entities, biomes, enchantments, foods (generated from PrismarineJS minecraft-data)
Documentation
//! Tool speed multipliers per dig material.
//!
//! @generated by `cargo run -p ghast-codegen-data` from PrismarineJS minecraft-data 3.119.0 — do not edit.
//! Sources: pc/1.16.2/materials.json.

#![allow(clippy::all, clippy::pedantic, clippy::nursery, missing_docs)]

use crate::common::DigMaterial;

pub(crate) static TOOL_MULTIPLIERS: [(DigMaterial, &[(u16, f32)]); 8] = [
    (DigMaterial::Dirt, &[(584, 2.0), (589, 4.0), (594, 12.0), (599, 6.0), (604, 8.0), (609, 9.0)]),
    (DigMaterial::Leaves, &[(583, 1.5), (588, 1.5), (593, 1.5), (598, 1.5), (603, 1.5), (608, 1.5), (734, 6.0)]),
    (DigMaterial::Melon, &[(583, 1.5), (588, 1.5), (593, 1.5), (598, 1.5), (603, 1.5), (608, 1.5)]),
    (DigMaterial::Plant, &[(583, 1.5), (586, 2.0), (588, 1.5), (591, 4.0), (593, 1.5), (596, 12.0), (598, 1.5), (601, 6.0), (603, 1.5), (606, 8.0), (608, 1.5), (611, 9.0)]),
    (DigMaterial::Rock, &[(585, 2.0), (590, 4.0), (595, 12.0), (600, 6.0), (605, 8.0), (610, 9.0)]),
    (DigMaterial::Web, &[(583, 15.0), (588, 15.0), (593, 15.0), (598, 15.0), (603, 15.0), (608, 15.0), (734, 15.0)]),
    (DigMaterial::Wood, &[(586, 2.0), (591, 4.0), (596, 12.0), (601, 6.0), (606, 8.0), (611, 9.0)]),
    (DigMaterial::Wool, &[(734, 4.8)]),
];