prismarine-world-sync

A sync proxy to prismarine-world

Usage no npm install needed!

<script type="module">
  import prismarineWorldSync from 'https://cdn.skypack.dev/prismarine-world-sync';
</script>

README

prismarine-world-sync

NPM version

A sync proxy to prismarine-world

To be used only if you really really have to, for example if you need to provide to use the world representation to implement a sync api (for example modpe).

If you have no such constraint, use prismarine-world instead.

Usage

See example.js

API

World

WorldSync(world)

Create a world sync proxy from the async world instance

The rest of the api is the same than the one of prismarine-world except it returns values instead of promise and is totally sync.

History

0.1.0

  • First version, basic functionality is implemented