From eeaf1435e81d9cbd8daa0efa22029c1f259a64b5 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Tue, 24 Mar 2026 11:15:56 -0500 Subject: 26.1 (#316) * start updating to 26.1 * start updating to 26.1-snapshot-6 * 26.1-snapshot-6 * 26.1-snapshot-10 * 26.1-rc-1 * fix tests * 26.1-rc-2 and sort default components * 26.1 * update changelog --- azalea/examples/testbot/commands/debug.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'azalea/examples') diff --git a/azalea/examples/testbot/commands/debug.rs b/azalea/examples/testbot/commands/debug.rs index 62baef1d..55b41403 100644 --- a/azalea/examples/testbot/commands/debug.rs +++ b/azalea/examples/testbot/commands/debug.rs @@ -168,6 +168,22 @@ pub fn register(commands: &mut CommandDispatcher>) { })), ))); + commands.register(literal("inventory").executes(|ctx: &Ctx| { + let source = ctx.source.lock(); + for item in source.bot.menu().slots() { + if item.is_empty() { + continue; + } + println!("{item:?}"); + for (kind, data) in item.component_patch().iter() { + if let Some(data) = data { + println!("- {kind} {data:?}"); + } + } + } + 1 + })); + commands.register(literal("pathfinderstate").executes(|ctx: &Ctx| { let source = ctx.source.lock(); let pathfinder = source.bot.get_component::(); -- cgit v1.2.3