API

[ Main ] [ Files ] [ Configuration ] [ Source ] [ API ]

For developers created a separate class - LightAPI, you can use the following methods:

  • createLightSource(Location loc, int lightlevel, boolean staticlight?);

This method creates a dynamic/static light, and does not require renewal chunks.

  • deleteLightSource(Location loc);

This method delete a dynamic/static light, and require renewal chunks.

  • updateChunk(Location loc, Chunk chunk); - DEPRECATED FOR 1.7.0 and 1.7.0> !

Chunks will be updated only for players <</code>>


Comments

Posts Quoted:
Reply
Clear All Quotes