diff --git a/src/pocketmine/item/ItemFactory.php b/src/pocketmine/item/ItemFactory.php index 5ba12a990..a6d5ae2bd 100644 --- a/src/pocketmine/item/ItemFactory.php +++ b/src/pocketmine/item/ItemFactory.php @@ -485,4 +485,8 @@ class ItemFactory{ } return (($id & 0xffff) << 16) | ($variant & 0xffff); } + + public static function getAllRegistered() : array{ + return self::$list; + } }