world_set
Set a player's health or a held item's quantity, targeting either player or hands, with defaults for each.
Instructions
Set health or quantity.
target is "player" or "hands"; left empty it defaults per what -- health
on the player, quantity on the held item -- because a single default for
both would make one of the two combinations a trap (a player has no
quantity, and empty hands have no health).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what | Yes | ||
| value | Yes | ||
| target | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| hint | No | ||
| error | No |