From abf995a70245028f9cc860ee231dc671f14adfcc Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 3 Jun 2025 03:48:36 +0500 Subject: replace wait_one_tick with wait_ticks and some other api improvements --- azalea-inventory/src/operations.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'azalea-inventory/src') diff --git a/azalea-inventory/src/operations.rs b/azalea-inventory/src/operations.rs index 90ad2403..f410c2c5 100644 --- a/azalea-inventory/src/operations.rs +++ b/azalea-inventory/src/operations.rs @@ -61,6 +61,8 @@ impl From for ClickOperation { #[derive(Debug, Clone)] pub struct SwapClick { pub source_slot: u16, + /// 0-8 for hotbar slots, 40 for offhand, everything else is treated as a + /// slot index. pub target_slot: u8, } -- cgit v1.2.3