Skip to main content

azalea_inventory/
lib.rs

1#![doc = include_str!("../README.md")]
2
3mod menu;
4pub mod operations;
5pub mod tier;
6
7#[doc(hidden)]
8#[deprecated = "moved to `azalea_registry::item::ItemStack`."]
9pub type ItemStack = azalea_registry::item::ItemStack;
10#[doc(hidden)]
11#[deprecated = "moved to `azalea_registry::item::ItemStackData`."]
12pub type ItemStackData = azalea_registry::item::ItemStackData;
13#[doc(hidden)]
14#[deprecated = "moved to `azalea_registry::item::components`."]
15pub mod components {
16    macro_rules! re_export_components {
17        ($($c:ident)*) => {
18            $(
19                pub type $c = azalea_registry::item::components::$c;
20            )*
21        };
22    }
23    // pasted from docs :>
24    re_export_components!(
25        AdditionalTradeCost
26        AdventureModePredicate
27        AssetInfo
28        AttackRange
29        AttributeModifier
30        AttributeModifiers
31        AttributeModifiersEntry
32        AxolotlVariant
33        BannerPatternLayer
34        BannerPatterns
35        BaseColor
36        BeehiveOccupant
37        Bees
38        BlockEntityData
39        BlockPredicate
40        BlockState
41        BlockStatePropertyMatcher
42        BlocksAttacks
43        BreakSound
44        BucketEntityData
45        BundleContents
46        CanBreak
47        CanPlaceOn
48        CatCollar
49        CatSoundVariant
50        CatVariant
51        ChargedProjectiles
52        ChickenSoundVariant
53        ChickenVariant
54        Consumable
55        Container
56        ContainerLoot
57        CowSoundVariant
58        CowVariant
59        CreativeSlotLock
60        CustomData
61        CustomModelData
62        CustomName
63        Damage
64        DamageReduction
65        DamageResistant
66        DamageType
67        DeathProtection
68        DebugStickState
69        DirectTrimMaterial
70        Dye
71        DyedColor
72        Enchantable
73        EnchantmentGlintOverride
74        Enchantments
75        EntityData
76        Equippable
77        FireworkExplosion
78        Fireworks
79        Food
80        FoxVariant
81        FrogVariant
82        Glider
83        HorseVariant
84        Instrument
85        InstrumentData
86        IntangibleProjectile
87        ItemDamageFunction
88        ItemModel
89        ItemName
90        JukeboxPlayable
91        JukeboxSongData
92        KineticWeapon
93        KineticWeaponCondition
94        LlamaVariant
95        Lock
96        LodestoneTracker
97        Lore
98        MapDecorations
99        MapId
100        MaterialAssetGroup
101        MaxDamage
102        MaxStackSize
103        MinimumAttackCharge
104        MobEffectDetails
105        MobEffectInstance
106        MooshroomVariant
107        NoteBlockSound
108        OminousBottleAmplifier
109        PaintingVariant
110        PaintingVariantData
111        ParrotVariant
112        PartialProfile
113        PiercingWeapon
114        PigSoundVariant
115        PigVariant
116        PlayerSkinPatch
117        PossibleEffect
118        PotDecorations
119        PotionContents
120        PotionDurationScale
121        Profile
122        ProvidesBannerPatterns
123        ProvidesTrimMaterial
124        RabbitVariant
125        Recipes
126        RepairCost
127        Repairable
128        ResourceTexture
129        SheepColor
130        ShulkerColor
131        StoredEnchantments
132        SuspiciousStewEffect
133        SuspiciousStewEffects
134        SwingAnimation
135        Tool
136        ToolRule
137        TooltipDisplay
138        TooltipStyle
139        Trim
140        TropicalFishBaseColor
141        TropicalFishPatternColor
142        Unbreakable
143        UseCooldown
144        UseEffects
145        UseRemainder
146        VillagerVariant
147        Weapon
148        WolfCollar
149        WolfSoundVariant
150        WolfVariant
151        WritableBookContent
152        WrittenBookContent
153        ZombieNautilusVariant
154        AttributeModifierDisplay
155        AxolotlVariantKind
156        BlockStateValueMatcher
157        DyeColor
158        EquipmentSlot
159        EquipmentSlotGroup
160        FireworkExplosionShape
161        FoxVariantKind
162        HorseVariantKind
163        ItemUseAnimation
164        LlamaVariantKind
165        MapPostProcessing
166        MooshroomVariantKind
167        ParrotVariantKind
168        PartialOrFullProfile
169        PlayerModelType
170        RabbitVariantKind
171        Rarity
172        SalmonSize
173        SwingAnimationKind
174        TropicalFishPattern
175    );
176}
177#[doc(hidden)]
178#[deprecated = "moved to `azalea_registry::item`."]
179pub mod item {
180    pub use azalea_registry::item::*;
181}
182
183pub use menu::*;