top of page

/attribute

This is an expansion to the /attribute command adding new modifiers to give you more control over entity stats.

Death Health

/attribute @s minecraft:generic.death_health

This lets you set the health the player dies at.

Setting to -1 or lower prevents the player from dying

Regeneration Speed

/attribute @s minecraft:generic.health_regeneration_speed

Lets you edit how fast the player regenerates health

Hunger Speed

/attribute @s minecraft:generic.hunger_consumption_speed

Lets you edit how fast the player consumes food

/attribute <target> minecraft:[attribute_path]

Syntax:
bottom of page