Socket
Socket
Sign inDemoInstall

diamond-square

Package Overview
Dependencies
485
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    diamond-square

A diamond square minecraft generation


Version published
Maintainers
1
Install size
221 MB
Created

Readme

Source

Diamond-square

NPM version Build Status

A diamond square minecraft generation

Usage

const World = require('prismarine-world')('1.12')
const Vec3 = require('vec3').Vec3

const diamondSquare = require('diamond-square')({version: '1.12', seed: Math.floor(Math.random() * Math.pow(2, 31))})
const world = new World(diamondSquare)

world.getBlock(new Vec3(3, 50, 3)).then(block => console.log(JSON.stringify(block, null, 2)))

Contributors

  • @JWo1F did the initial code for diamond-square in flying-squid
  • @demipixel
  • @rom1504

History

1.5.0

1.4.0

1.3.0

  • Bump mcdata

1.2.0

  • add 1.13 support (thanks @Deudly)

1.1.0

  • convert to standard + make api compatible with multiple versions

1.0.0

  • update dependencies

0.0.0

  • first version, imported from flying-squid, works

Keywords

FAQs

Last updated on 12 Jan 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc