diff options
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>>>, |
