Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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();
```