Modules§
- attribute_
id - attributes
- attributes_
mut - commands
- Deferred attribute operations via entity commands.
- context
- derived
- Derived component support — automatically sync Bevy components with attributes.
- expr
- graph
- instant
- One-shot attribute mutations — Set, Add, or Subtract a value once without leaving a persistent modifier on the attribute node.
- modifier
- modifier_
set - node
- plugin
- prelude
- requirements
- Boolean attribute requirements — expressions evaluated against an entity’s
Attributesthat gate state-machine transitions, equipment prerequisites, ability conditions, etc. - tags
- writer
- Entity-bound attribute mutation trait.
Macros§
- attributes
- Create an
AttributeInitializercomponent from a set of attribute definitions. - define_
tags - Declare a unit struct with
TagMaskassociated constants for a tag hierarchy, plus aregister(&mut TagResolver)method that registers every tag name with the resolver. - instant
- Create an
InstantModifierSetfrom a declarative list of operations. - mod_set
- Create a
ModifierSetfrom a set of attribute definitions. - register_
derived - Register a
AttributeDerivedcomponent via theinventoryauto-registration system. Place this at module scope. - register_
write_ back - Register a
WriteBackcomponent via theinventoryauto-registration system. Place this at module scope. - requires
- Create a
AttributeRequirementscomponent from one or more expression strings.
Derive Macros§
- Attribute
Component - Derive macro that generates
AttributeDerivedand/orWriteBackimplementations for a Bevy component, binding its fields to attributes.