[Attribute]|[nil] attribute = AttributeListHolder.id(attribute_id)


Gets the attribute with its id or nil
Attribute ids
1: Hunger
2: Saturation
3: Exhaustion
4: Level
5: Experience
7: Health
8: Follow Range
9: Knockback Resistance
10: Movement Speed
11: Underwater Speed
12: Lava Speed
13: Attack Damage
14: Absorption
15: Luck

Parameters


attribute_id

integer

The attribute id

Return Value


attribute

Attribute | nil

Probably the attribute, but it could be nil.