get %e:ENTITY_POSSESSIVE% %attr:ATTRIBUTE% [base] [value]Attribute1.0.0
Description
Returns the base value of an attribute on a living entity, or 0 if the entity does not have the attribute.
Examples
set hp to mob's max_healthAll Possible Usages (4)
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
get <e> <attr>get <e> <attr> baseget <e> <attr> valueget <e> <attr> base value