prismarine-biome
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

prismarine-biome

NPM version Build Status

Represent a minecraft biome with its associated data

Usage

const registry = require('prismarine-registry')('1.8')
const Biome = require("prismarine-biome")(registry);

const ocean = new Biome(registry.biomesByName.ocean.id)
console.log(ocean)

API

Biome

biome.id

Numerical id.

biome.color

biome.height

biome.name

biome.rainfall

biome.temperature

History

1.3.0

  • Bump mcdata

1.2.1

  • Handle registry without biome info

1.2.0

  • support pregistry

1.1.2

  • Update type definitions

1.1.1

  • move standard to dev dep

1.1.0

  • typescript definitions (thanks @IdanHo)

1.0.1

  • bump mcdata

1.0.0

  • bump mcdata major

0.1.0

  • Import from mineflayer

Package Sidebar

Install

npm i prismarine-biome

Weekly Downloads

5,314

Version

1.3.0

License

MIT

Unpacked Size

4.28 kB

Total Files

11

Last publish

Collaborators

  • rom1504