Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 16 days 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-26T12:46:44.000Z (almost 2 years ago)
- Last Synced: 2024-11-08T13:09:39.515Z (about 2 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();
```