[Attribute] attribute = AttributeListHolder.name(attribute_name)


Gets the attribute with this name or nil
Attribute Names
"minecraft:player.hunger"
"minecraft:player.saturation"
"minecraft:player.exhaustion"
"minecraft:player.level"
"minecraft:player.experience"
"minecraft:health"
"minecraft:follow_range"
"minecraft:knockback_resistance"
"minecraft:movement"
"minecraft:underwater_movement"
"minecraft:lava_movement"
"minecraft:attack_damage"
"minecraft:absorption"
"minecraft:luck"

Parameters


Return Value


attribute

Attribute

Probably the attribute, but it could be nil.