First you need the Location of the Item Frame. PHP: $frame = $level->getTile($loc);$item = $frame->getItem();