🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

prismarine-world

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prismarine-world - npm Package Compare versions

Comparing version

to
3.1.1

{
"name": "prismarine-world",
"version": "3.1.0",
"version": "3.1.1",
"description": "The core implementation of the world for prismarine",

@@ -43,3 +43,4 @@ "main": "index.js",

"prismarine-provider-anvil": "^2.0.0",
"prismarine-chunk": "^1.14.0"
"prismarine-chunk": "^1.14.0",
"prismarine-provider-raw": "^1.0.1"
},

@@ -46,0 +47,0 @@ "dependencies": {

@@ -13,3 +13,3 @@ # prismarine-world

See [example.js](example.js)
See [anvil.js](examples/anvil.js)

@@ -21,3 +21,9 @@ ## Related packages

* [flying-squid](https://github.com/PrismarineJS/flying-squid) to serve a world from a mc server
* [schematic-to-world](https://github.com/rom1504/schematic-to-world) to add a mc schematic to a world
## Available Storage Providers
* [prismarine-provider-anvil](https://github.com/PrismarineJS/prismarine-provider-anvil) Anvil (Minecraft's world format) based storage
* [prismarine-provider-raw](https://github.com/PrismarineJS/prismarine-provider-raw) Prismarine-chunk based raw storage
## API

@@ -231,2 +237,6 @@

### 3.1.1
* fix world.sync.getChunks()
### 3.1.0

@@ -233,0 +243,0 @@

@@ -142,3 +142,3 @@ const Vec3 = require('vec3').Vec3

getColumns () {
return Object.items(this.columns).map(([key, column]) => {
return Object.entries(this.columns).map(([key, column]) => {
const parts = key.split(',')

@@ -145,0 +145,0 @@ return {