diff --git a/pumpkin-inventory/src/player.rs b/pumpkin-inventory/src/player.rs
index dd868249..8bd91e20 100644
--- a/pumpkin-inventory/src/player.rs
+++ b/pumpkin-inventory/src/player.rs
@@ -1,3 +1,4 @@
+use std::slice::IterMut;
use std::sync::atomic::AtomicU32;
use crate::container_click::MouseClick;
@@ -25,6 +26,8 @@ impl Default for PlayerInventory {
}
impl PlayerInventory {
+ pub const CONTAINER_ID: i8 = 0;
+
pub fn new() -> Self {
Self {
crafting: [None; 4],
@@ -134,6 +137,10 @@ impl PlayerInventory {
slots.push(&mut self.offhand);
slots
}
+
+ pub fn iter_items_mut(&mut self) -> IterMut