Read player state
get_player_stateRead a player's current position, world, view direction, health, food, XP, gamemode, movement flags, and held item from the Minecraft server.
Instructions
Read the player's position, world, view direction, health, food, XP, gamemode, movement flags, and held item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| player | No | Online player name (defaults to the first online player) |