kubi/kubi-shared/src/queue.rs

12 lines
257 B
Rust
Raw Normal View History

2023-03-07 18:31:38 -06:00
use glam::IVec3;
use serde::{Serialize, Deserialize};
use crate::block::Block;
#[derive(Serialize, Deserialize, Clone, Copy, Debug)]
pub struct QueuedBlock {
pub position: IVec3,
pub block_type: Block,
/// Only replace air blocks
pub soft: bool,
}