https://github.com/aetheam/itemapi
This is a plugin for pocketmine 5.0, this plugin is used to get items more easily than what pocketmine offers us.
https://github.com/aetheam/itemapi
mcpe plugin pocketmine pocketmine-mp pocketmine-plugins pocketminemp virion
Last synced: 3 months ago
JSON representation
This is a plugin for pocketmine 5.0, this plugin is used to get items more easily than what pocketmine offers us.
- Host: GitHub
- URL: https://github.com/aetheam/itemapi
- Owner: Aetheam
- Created: 2023-02-26T12:39:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-26T12:46:44.000Z (over 2 years ago)
- Last Synced: 2025-02-12T21:49:43.348Z (5 months ago)
- Topics: mcpe, plugin, pocketmine, pocketmine-mp, pocketmine-plugins, pocketminemp, virion
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ItemApi
This is a plugin for pocketmine 5.0, this plugin is used to get items more easily than what pocketmine offers us.Use :
```
use Mentagess\Api\ItemApi;
``````
ItemApi::get("minecraft:diamond_sword");
```You can of course 'getCount' and 'setCount' using pocketmine's class item.
```
ItemApi::get("minecraft:diamond_sword")->getCount();
``````
ItemApi::get("minecraft:diamond_sword")->setCount();
```