1.3.0 • Published 12 months ago

@dxxxxy/prismarine-biome v1.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

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