mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 00:29:54 +00:00
Be more specific with documentation of ItemFactory::register() and BlockFactory::register()
This commit is contained in:
parent
6071746993
commit
c979ab8aa0
@ -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
|
* Maps a block type to its corresponding ID. This is necessary to ensure that the block is correctly loaded when
|
||||||
* existing ones.
|
* 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
|
* 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.
|
* will not automatically appear there.
|
||||||
|
@ -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
|
* Maps an item type to its corresponding ID. This is necessary to ensure that the item is correctly loaded when
|
||||||
* ones.
|
* 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
|
* 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.
|
* will not automatically appear there.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user