diff options
| author | mat <git@matdoes.dev> | 2025-06-03 03:48:36 +0500 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-06-03 03:48:36 +0500 |
| commit | abf995a70245028f9cc860ee231dc671f14adfcc (patch) | |
| tree | 3e6052c028c409e4bc7279dbd2e6bcc6bed63748 /azalea-inventory/src | |
| parent | 04dd6dd0a44faa760906bd60c9861a1b06a664a1 (diff) | |
| download | azalea-drasl-abf995a70245028f9cc860ee231dc671f14adfcc.tar.xz | |
replace wait_one_tick with wait_ticks and some other api improvements
Diffstat (limited to 'azalea-inventory/src')
| -rw-r--r-- | azalea-inventory/src/operations.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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<QuickMoveClick> 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, } |
