Skip to content

Latest commit

 

History

History
68 lines (39 loc) · 1.03 KB

README.md

File metadata and controls

68 lines (39 loc) · 1.03 KB

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