//! 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.8/materials.json.
#![allow(clippy::all, clippy::pedantic, clippy::nursery, missing_docs)]
use crate::common::DigMaterial;
/// `(material, (start, end) in TOOL_MULTIPLIER_LIST)`.
pub(crate) static TOOL_MULTIPLIERS: [(DigMaterial, (u16, u16)); 8] = [
(DigMaterial::Dirt, (0, 5)),
(DigMaterial::Leaves, (5, 11)),
(DigMaterial::Melon, (11, 16)),
(DigMaterial::Plant, (16, 26)),
(DigMaterial::Rock, (26, 31)),
(DigMaterial::Web, (31, 37)),
(DigMaterial::Wood, (37, 42)),
(DigMaterial::Wool, (42, 43)),
];
/// `(tool item id, multiplier)` of every material, material after material.
pub(crate) static TOOL_MULTIPLIER_LIST: [(u16, f32); 43] = [(256, 6.0), (269, 2.0), (273, 4.0), (277, 8.0), (284, 12.0), (267, 1.5), (268, 1.5), (272, 1.5), (276, 1.5), (283, 1.5), (359, 6.0), (267, 1.5), (268, 1.5), (272, 1.5), (276, 1.5), (283, 1.5), (258, 6.0), (267, 1.5), (268, 1.5), (271, 2.0), (272, 1.5), (275, 4.0), (276, 1.5), (279, 8.0), (283, 1.5), (286, 12.0), (257, 6.0), (270, 2.0), (274, 4.0), (278, 8.0), (285, 12.0), (267, 15.0), (268, 15.0), (272, 15.0), (276, 15.0), (283, 15.0), (359, 15.0), (258, 6.0), (271, 2.0), (275, 4.0), (279, 8.0), (286, 12.0), (359, 4.8)];