Note Use this library if you are a professional developer https://github.com/Cosmoverse/BlockData
A virion for PocketMine-MP that lets plugins store arbitrary block data
Integrate the virion itself into your plugin or you could also use it as a composer library by running the command below:
composer require nhanaz/blockdata
There's no documentation yet, but you can check out the demo plugin or Dependency graph which shows how to use its API in a plugin.
This library supports being included as a virion.
If you use Poggit to build your plugin, you can add it to your .poggit.yml
like so:
--- # Poggit-CI Manifest. Open the CI at https://poggit.pmmp.io/ci/YourGithubUserName/YourPluginName
build-by-default: true
branches:
- master
projects:
YourPluginName:
path: ""
libs:
- src: NhanAZ/BlockData/BlockData
version: x.y.z
...