pub fn on_setblock(
    core: &Core,
    player: &mut (dyn Player),
    world: &mut World,
    position: Vec3D,
    block: u8,
    destroy: bool,
) -> bool {
    let mut surpress = false;

    readonly_build(core, player, world, position, block, destroy, &mut surpress);

    surpress
}
/// Called when user tries to set block. surpress to prevent saving on underlying struct.
Called when user tries to set block. surpress to prevent saving on underlying struct.
Called when user tries to set block . surpress to prevent saving on underlying struct .
pub fn on_setblock(
    core: &Core,
    player: &mut (dyn Player),
    world: &mut World,
    position: Vec3D,
    block: u8,
    destroy: bool,
) -> bool {
    let mut surpress = false;
    readonly_build(core, player, world, position, block, destroy, &mut surpress);
    surpress
}
pub fn on_setblock ( core : & Core , player : & mut ( dyn Player ) , world : & mut World , position : Vec3D , block : u8 , destroy : bool , ) -> bool { let mut surpress = false ; readonly_build ( core , player , world , position , block , destroy , & mut surpress ) ; surpress }
Called when user tries to set block.
Called when user tries to set block .
core
&Core
player
&mut (dyn Player)
world
&mut World
position
Vec3D
block
u8
destroy
bool
core
&Core
player
&mut (dyn Player)
world
&mut World
position
Vec3D
block
u8
destroy
bool