diff --git a/src/block/BlockFactory.php b/src/block/BlockFactory.php index 7d8a24329..99f83d90e 100644 --- a/src/block/BlockFactory.php +++ b/src/block/BlockFactory.php @@ -59,7 +59,8 @@ use function get_class; use function min; /** - * Manages block registration and instance creation + * Manages deserializing block types from their legacy blockIDs and metadata. + * This is primarily needed for loading chunks from disk. */ class BlockFactory{ use SingletonTrait; diff --git a/src/item/ItemFactory.php b/src/item/ItemFactory.php index 187c14121..000235935 100644 --- a/src/item/ItemFactory.php +++ b/src/item/ItemFactory.php @@ -44,7 +44,8 @@ use pocketmine\utils\SingletonTrait; use pocketmine\world\World; /** - * Manages Item instance creation and registration + * Manages deserializing item types from their legacy ID/metadata. + * This is primarily needed for loading inventories saved in the world (or playerdata storage). */ class ItemFactory{ use SingletonTrait;