npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@minecraft/bedrock-schemas

v1.26.20-beta.21

Published

JSON Schemas and TypeScript types for Minecraft Bedrock Edition content files (entities, blocks, items, biomes, and more).

Downloads

229

Readme

@minecraft/bedrock-schemas

npm version License: MIT

JSON Schemas and TypeScript types for Minecraft Bedrock Edition content files — entities, blocks, items, biomes, features, loot tables, recipes, and more.

Installation

npm install @minecraft/bedrock-schemas

What's Included

| Directory | Description | |-----------|-------------| | schemas/ | JSON Schema (draft-07) definitions for behavior pack and resource pack files | | types/ | TypeScript type declarations (.d.ts) for the same content, with JSDoc comments and sample links | | forms/ | Form definitions used by Minecraft Creator editor tooling | | catalog.json | A schema catalog mapping file-match glob patterns to their corresponding schema URLs | | settings-template.json | A ready-made VS Code settings.json snippet for enabling JSON schema validation |

Usage

TypeScript Types

Import types for specific Bedrock content areas:

// Import everything
import { bp, rp, common } from "@minecraft/bedrock-schemas";

// Or import a specific category
import type { default as EntityBehavior } from "@minecraft/bedrock-schemas/bp/entities";
import type { default as BlockComponents } from "@minecraft/bedrock-schemas/bp/blocks/components";

Available subpath imports include:

  • @minecraft/bedrock-schemas/bp/entities
  • @minecraft/bedrock-schemas/bp/blocks
  • @minecraft/bedrock-schemas/bp/items
  • @minecraft/bedrock-schemas/bp/biomes
  • @minecraft/bedrock-schemas/bp/features
  • @minecraft/bedrock-schemas/bp/loot_tables
  • @minecraft/bedrock-schemas/bp/recipes
  • @minecraft/bedrock-schemas/rp/entity
  • @minecraft/bedrock-schemas/rp/models
  • @minecraft/bedrock-schemas/rp/particles
  • @minecraft/bedrock-schemas/common
  • …and many more (see exports in package.json for the full list)

JSON Schema Validation in VS Code

Copy settings-template.json into your project's .vscode/settings.json to get auto-completion and validation for Bedrock content files:

cp node_modules/@minecraft/bedrock-schemas/settings-template.json .vscode/settings.json

Or load the included schema catalog programmatically:

import catalog from "@minecraft/bedrock-schemas/catalog.json";
// catalog.schemas[] contains fileMatch patterns and schema URLs

Referencing Schemas Directly

Point any JSON Schema-aware tool at the schema files:

{
  "$schema": "./node_modules/@minecraft/bedrock-schemas/schemas/bp/entities/index.schema.json"
}

Documentation

For full Minecraft Bedrock Edition creator documentation, visit learn.microsoft.com/minecraft/creator.

Contributing

This package is automatically generated, so directly contributing to this GitHub repo is not generally possible. If you have questions or issues, please open an issue on GitHub.

License

MIT — Copyright (c) Microsoft Corporation.