Socket
Socket
Sign inDemoInstall

prismarine-biome

Package Overview
Dependencies
328
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    prismarine-biome

Represent a minecraft biome with its associated data


Version published
Maintainers
1
Created

Readme

Source

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

Keywords

FAQs

Last updated on 11 Apr 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc