Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/javierleon9966/entitymonitor

Plugin that monitors every chunk for potential amount of entities and tiles
https://github.com/javierleon9966/entitymonitor

pmmp-plugin pocketmine-plugin pocketmine-plugins

Last synced: about 18 hours ago
JSON representation

Plugin that monitors every chunk for potential amount of entities and tiles

Awesome Lists containing this project

README

        

# EntityMonitor
Plugin that monitors every chunk with potential amount of entities and tiles

This plugin is very simple that the only thing you need is one command:

/monitor [entity|tile] [ticking: bool]

## API
```php
use JavierLeon9966\EntityMonitor\EntityMonitor;
use pocketmine\world\World;

[$chunkHash, $entityCount] = EntityMonitor::getChunkWithMostEntities(World $world, bool $ticking): array{?int, int};

[$chunkHash, $entityCount] = EntityMonitor::getChunkWithMostTiles(World $world, bool $ticking): array{?int, int};
```