This module contains type definitions and enumarations for vanilla content within the game, such as Blocks, Items, Entities, and more. This module is versioned accordingly with Minecraft release and preview versions, and contain the up to date types available in the game.
This is an external Minecraft library published to NPM. It is not part of Minecraft's native modules.
There are two ways to use this library:
Download a standalone file available to download from https://jaylydev.github.io/scriptapi-docs/meta/cdn-links.html for quick, small-scale projects.
Installing it through npm, with advanced build configurations and bundling with esbuild.
Installation:
npm i @minecraft/vanilla-data@1.21.20