Skip to content

robske110/smallLibraries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

smallLibraries

This repo contains some small Libraries for PM plugin makers

EasyChunkLoader

Keeping chunks loaded has never been easier:

$this->chunkLoaderForMyImportantChunk = new EasyChunkLoader($vec3, $level);

If you want to temporarily disable the ChunkLoader call:

$this->chunkLoaderForMyImportantChunk->deactivate();

If you want to enable it again call:

$this->chunkLoaderForMyImportantChunk->activate();

IMPORTANT If you want to no longer use this ChunkLoader always do:

$this->chunkLoaderForMyImportantChunk->unregister();
$this->chunkLoaderForMyImportantChunk = null;

In order to free all memory, because you don't want to be the plugin author that creates Memory leakes do you?

More libaries to come...

About

Contains some small Libraries for PM plugin makers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages