diff --git a/src/block/BlockFactory.php b/src/block/BlockFactory.php index ee5b2c820..7d8a24329 100644 --- a/src/block/BlockFactory.php +++ b/src/block/BlockFactory.php @@ -810,8 +810,8 @@ class BlockFactory{ } /** - * Registers a block type into the index. Plugins may use this method to register new block types or override - * existing ones. + * Maps a block type to its corresponding ID. This is necessary to ensure that the block is correctly loaded when + * reading from disk storage. * * NOTE: If you are registering a new block type, you will need to add it to the creative inventory yourself - it * will not automatically appear there. diff --git a/src/item/ItemFactory.php b/src/item/ItemFactory.php index 28b6f1b93..187c14121 100644 --- a/src/item/ItemFactory.php +++ b/src/item/ItemFactory.php @@ -395,8 +395,8 @@ class ItemFactory{ } /** - * Registers an item type into the index. Plugins may use this method to register new item types or override existing - * ones. + * Maps an item type to its corresponding ID. This is necessary to ensure that the item is correctly loaded when + * reading data from disk storage. * * NOTE: If you are registering a new item type, you will need to add it to the creative inventory yourself - it * will not automatically appear there.