On the event, run this: PHP: $inv = $event->getPlayer()->getInventory();$item = $event->getItem();foreach($inv->getContents() as $slot => $it){ if($it->equals($item)){ $event->getPlayer()->sendMessage("The slot is {$slot}"); }} Note: Sometimes it may not work, so check if $it damage and I'd matches $item values, then do same as shown in code