aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/mining.rs
diff options
context:
space:
mode:
authorShayne Hartford <shaybox@shaybox.com>2024-11-12 13:07:36 -0500
committerGitHub <noreply@github.com>2024-11-12 12:07:36 -0600
commit09cdc22b86d0f9ed2bedc76cb92739277b3997e8 (patch)
treeb8d1db477249e1938a5a36fe55328099e86b2839 /azalea-client/src/mining.rs
parent0774888a777a87367987f592314fc66d81c01313 (diff)
downloadazalea-drasl-09cdc22b86d0f9ed2bedc76cb92739277b3997e8.tar.xz
Make some internal system handles public for use with before/after (#180)
Diffstat (limited to 'azalea-client/src/mining.rs')
-rw-r--r--azalea-client/src/mining.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-client/src/mining.rs b/azalea-client/src/mining.rs
index 86a0193c..1c8461c5 100644
--- a/azalea-client/src/mining.rs
+++ b/azalea-client/src/mining.rs
@@ -418,7 +418,7 @@ pub struct FinishMiningBlockEvent {
pub position: BlockPos,
}
-fn handle_finish_mining_block_event(
+pub fn handle_finish_mining_block_event(
mut events: EventReader<FinishMiningBlockEvent>,
mut query: Query<(
&InstanceName,
@@ -484,7 +484,7 @@ fn handle_finish_mining_block_event(
pub struct StopMiningBlockEvent {
pub entity: Entity,
}
-fn handle_stop_mining_block_event(
+pub fn handle_stop_mining_block_event(
mut events: EventReader<StopMiningBlockEvent>,
mut send_packet_events: EventWriter<SendPacketEvent>,
mut mine_block_progress_events: EventWriter<MineBlockProgressEvent>,
@@ -517,7 +517,7 @@ fn handle_stop_mining_block_event(
}
#[allow(clippy::too_many_arguments, clippy::type_complexity)]
-fn continue_mining_block(
+pub fn continue_mining_block(
mut query: Query<(
Entity,
&InstanceName,