mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
LegacyStringToItemParser: update documentation
This commit is contained in:
parent
3b11191043
commit
341a9b78b5
@ -49,6 +49,9 @@ use function trim;
|
|||||||
* Avoid using this wherever possible. Unless you need to parse item strings containing meta (e.g. "dye:4", "351:4") or
|
* Avoid using this wherever possible. Unless you need to parse item strings containing meta (e.g. "dye:4", "351:4") or
|
||||||
* item IDs (e.g. "351"), you should prefer the newer StringToItemParser, which is much more user-friendly, more
|
* item IDs (e.g. "351"), you should prefer the newer StringToItemParser, which is much more user-friendly, more
|
||||||
* flexible, and also supports registering custom aliases for any item in any state.
|
* flexible, and also supports registering custom aliases for any item in any state.
|
||||||
|
*
|
||||||
|
* WARNING: This class does NOT support items added during or after PocketMine-MP 5.0.0. Use StringToItemParser for
|
||||||
|
* modern items.
|
||||||
*/
|
*/
|
||||||
final class LegacyStringToItemParser{
|
final class LegacyStringToItemParser{
|
||||||
use SingletonTrait;
|
use SingletonTrait;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user