diff options
| author | mat <git@matdoes.dev> | 2024-12-11 05:39:23 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-12-11 05:39:23 +0000 |
| commit | 23932003d98db0f5f976146aa9a11e5d04a74695 (patch) | |
| tree | d618cee229906457029e253d50c035a5451fc493 /azalea-inventory/src | |
| parent | f4a1869a7df0d6311381c99dce5eb243e2d52762 (diff) | |
| download | azalea-drasl-23932003d98db0f5f976146aa9a11e5d04a74695.tar.xz | |
remove the generic_const_exprs feature since it's unused and to make the rust compiler devs happy
Diffstat (limited to 'azalea-inventory/src')
| -rw-r--r-- | azalea-inventory/src/slot.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/azalea-inventory/src/slot.rs b/azalea-inventory/src/slot.rs index 568ca441..f541c54d 100644 --- a/azalea-inventory/src/slot.rs +++ b/azalea-inventory/src/slot.rs @@ -172,6 +172,10 @@ impl AzaleaWrite for ItemStack { } } +/// An update to an item's data components. +/// +/// Note that in vanilla items come with their own set of default components, +/// and Azalea does not implement that yet. #[derive(Default)] pub struct DataComponentPatch { components: HashMap<DataComponentKind, Option<Box<dyn components::EncodableDataComponent>>>, |
