Skip to content

PrismarineJS/prismarine-biome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Represent a minecraft biome with its associated data

Resources

Stars

Watchers

Forks

Packages

No packages published