Skip to main content

EquippableAllowedEntities

Type Alias EquippableAllowedEntities 

Source
pub type EquippableAllowedEntities = RegistryHolderSet<EntityType>;
Expand description

Entity types allowed to equip an item.

Aliased Type§

pub enum EquippableAllowedEntities {
    Tag(Identifier),
    Direct(Vec<&'static EntityType>),
}

Variants§

§

Tag(Identifier)

A named registry tag.

§

Direct(Vec<&'static EntityType>)

An ordered list of direct registry references.