Module item
Modules§
Structs§
- Ability
Map - Ability
Set - Durability
Multiplier - Frontend
Item - Newtype around
Item
used for frontend events to prevent it accidentally being used for anything other than frontend events - Item
- NOTE: Do not call
Item::clone
without consulting the core devs! It only exists due to being required for message serialization at the moment, and should not be used for any other purpose. - Item
Config - ItemDef
- Item
Drops - Item
I18n - To be used with ItemDesc::i18n
- Lantern
- Material
Iter - An iterator over the variants of Material
- Material
Stat Manifest - Operation
Failure - Pickup
Item - Tool
Enums§
- Ability
Spec - Consumable
Kind - Effects
- Hands
- Item
Base - Item
Config Error - Item
Definition Id - Item
Definition IdOwned - Item
Kind - ItemTag
- Material
- Material
Kind - Modular
Base - Modular
Component - Quality
- Reagent
- Throwable
- Tool
Kind - Utility
Traits§
- Item
Desc - Provides common methods providing details about an item definition
for either an
Item
containing the definition, or the actualItemDef
- TagExample
Info
Functions§
- all_
item_ defs_ expect - Returns all item asset specifiers
- all_
items_ expect - Designed to return all possible items, including modulars. And some impossible too, like ItemKind::TagExamples.
- flatten_
counted_ items - try_
all_ item_ defs - Returns all item asset specifiers