Module attributes

Module attributes 

Source
Expand description

Attributes and modifiers for entities.

Also see https://minecraft.wiki/w/Attribute.

Structs§

AlreadyPresentError
An error for when we try to call AttributeInstance::try_insert when the modifier is already present.
AttributeInstance
An individual attribute for an entity, which may have any number of modifiers attached to it.
Attributes
A component that contains the current attribute values for an entity.

Functions§

base_attack_speed_modifier
creative_block_interaction_range_modifier
creative_entity_interaction_range_modifier
sprinting_modifier