diff --git a/protocol/src/types/metadata.rs b/protocol/src/types/metadata.rs index 4020418..1c8cec9 100644 --- a/protocol/src/types/metadata.rs +++ b/protocol/src/types/metadata.rs @@ -656,6 +656,7 @@ impl Serializable for ParticleData { } #[derive(Debug)] +#[allow(dead_code)] pub struct VillagerData { villager_type: protocol::VarInt, profession: protocol::VarInt, diff --git a/src/model/mod.rs b/src/model/mod.rs index e0a7099..0b2fa02 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -880,7 +880,9 @@ struct RawModel { uvlock: bool, weight: f64, + #[allow(dead_code)] display: HashMap>, + #[allow(dead_code)] builtin: BuiltinType, } @@ -899,6 +901,7 @@ impl RawModel { } #[derive(Debug)] +#[allow(dead_code)] struct ModelDisplay { rotation: [f64; 3], translation: [f64; 3], @@ -935,6 +938,7 @@ struct BlockFace { struct Model { faces: Vec, ambient_occlusion: bool, + #[allow(dead_code)] weight: f64, } @@ -945,6 +949,7 @@ struct Face { vertices: Vec, vertices_texture: Vec, indices: usize, + #[allow(dead_code)] shade: bool, tint_index: i32, }