Package Exports
- diamond-square
- diamond-square/diamond_square.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (diamond-square) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Diamond-square
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.7.0
- Update CI to Node 24 (#25) (thanks @rom1504)
- Fix publish condition for npm-publish v4 (#24) (thanks @rom1504)
- Switch to trusted publishing via OIDC (#23) (thanks @rom1504)
- node 22 (#22) (thanks @rom1504)
1.6.0
- Update for 1.17+ (#20) (thanks @extremeheat)
1.5.0
- Update publish.yml (thanks @rom1504)
1.4.0
tallgrasswas renamed totall_grass(#15) (thanks @Pandapip1)- Add command gh workflow allowing to use release command in comments (#14) (thanks @rom1504)
- Update to node 18.0.0 (#13) (thanks @rom1504)
- Bump standard from 16.0.4 to 17.0.0 (#12) (thanks @dependabot[bot])
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