mirror of
https://github.com/griffi-gh/kubi.git
synced 2024-12-26 21:58:20 -06:00
12 lines
257 B
Rust
12 lines
257 B
Rust
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,
|
|
}
|