use glam::IVec3;
use crate::world::World;
use crate::geom::Face;
#[derive(Debug, Clone)]
pub struct PistonBlockEntity {
pub block: u8,
pub metadata: u8,
pub face: Face,
pub progress: f32,
pub extending: bool,
}
impl Default for PistonBlockEntity {
fn default() -> Self {
Self {
block: 0,
metadata: 0,
face: Face::PosY,
progress: 0.0,
extending: false,
}
}
}
impl PistonBlockEntity {
pub fn tick(&mut self, world: &mut World, pos: IVec3) {
let _ = (world, pos);
}
}