setbodyfield

setbodyfield <field> <value>

Sets a variable in the player body.
Character
Parameters

Angle brackets <> mark required arguments; square brackets [] mark optional ones.

NameTypeRequiredDescription
fieldstringRequiredThe Body field to set (e.g. hunger, thirst, temperature).
valuestringRequiredValue to set the field to.
Command generator

Fill in the arguments and copy the finished command — it updates as you type.

setbodyfield <field> <value>
FieldstringThe Body field to set (e.g. hunger, thirst, temperature).
ValuestringValue to set the field to.