azalea::mining

Function handle_stop_mining_block_event

Source
pub fn handle_stop_mining_block_event(
    events: EventReader<'_, '_, StopMiningBlockEvent>,
    send_packet_events: EventWriter<'_, SendPacketEvent>,
    mine_block_progress_events: EventWriter<'_, MineBlockProgressEvent>,
    query: Query<'_, '_, (&mut Mining, &MineBlockPos, &mut MineProgress)>,
    commands: Commands<'_, '_>,
)