From c0d5eec98bd066e236a81035a173b3149c123f22 Mon Sep 17 00:00:00 2001 From: Herr Katze <34895975+scmcgowen@users.noreply.github.com> Date: Tue, 18 Nov 2025 20:17:23 -0800 Subject: [PATCH 1/2] Update player_detector.md with new properties Added 'uuid' and 'name' properties to player detector documentation. Signed-off-by: Herr Katze <34895975+scmcgowen@users.noreply.github.com> --- docs/peripherals/player_detector.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/peripherals/player_detector.md b/docs/peripherals/player_detector.md index 1c5b48cb..797d5d3e 100644 --- a/docs/peripherals/player_detector.md +++ b/docs/peripherals/player_detector.md @@ -104,6 +104,8 @@ Returns information about the player with the `username` passed. | table | Description | |----------------------------|--------------------------------------------| +| uuid: `string` | The player's UUID | +| name: `string` | The player's name | dimension: `string` | The dimension the player is in | | eyeHeight: `number` | The height of the player's eyes | | pitch: `number` | The pitch of the player's head | From 319e79fe01622d63fe0ea230cd391ef780ea4d80 Mon Sep 17 00:00:00 2001 From: Herr Katze <34895975+scmcgowen@users.noreply.github.com> Date: Tue, 18 Nov 2025 20:44:43 -0800 Subject: [PATCH 2/2] Update player_detector.md with version info Added note about 'name' and 'uuid' fields for MC 1.21.1. Signed-off-by: Herr Katze <34895975+scmcgowen@users.noreply.github.com> --- docs/peripherals/player_detector.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/peripherals/player_detector.md b/docs/peripherals/player_detector.md index 797d5d3e..0b937dc8 100644 --- a/docs/peripherals/player_detector.md +++ b/docs/peripherals/player_detector.md @@ -102,6 +102,8 @@ Returns information about the player with the `username` passed. !!! success "Added more properties in version 0.7.4r" +!!! note "The name and uuid fields only exist in MC 1.21.1" + | table | Description | |----------------------------|--------------------------------------------| | uuid: `string` | The player's UUID |