CDN Links

A list of links related to Minecraft Script API assets. I will do my best to keep this list up to date as I continue to find useful content.

Minecraft Math Library Mirror

Minified versions of @minecraft/math module are available at:

  • dist/minecraft-math.js

    https://jaylydev.github.io/scriptapi-docs/assets/meta/math/latest/minecraft-math.js
    

IMPORTANT

The @minecraft/math library export variables through default export. To use the classes from this standalone file, import the class using the following method:

// file is saved as scripts/minecraft-math.js
import minecraftmath from "minecraft-math.js";

// retrieve Vector3Builder class
const { Vector3Builder } = minecraftmath;
  • lib/types/math-public.d.ts

    https://jaylydev.github.io/scriptapi-docs/assets/meta/math/latest/minecraft-math.d.ts
    

    Save this file in the same directory as minecraft-math.js to get type definition for VSCode.

  • dist/minecraft-math.js.map

    https://jaylydev.github.io/scriptapi-docs/assets/meta/math/latest/minecraft-math.js.map
    

Minecraft Vanilla Data Mirror

Minified versions of @minecraft/vanilla-data module are available at:

  • lib/index.js (latest)
    https://jaylydev.github.io/scriptapi-docs/assets/meta/vanilla-data/latest/index.js
    
  • lib/index.js (preview)
    https://jaylydev.github.io/scriptapi-docs/assets/meta/vanilla-data/preview/index.js
    

USAGE

// file is saved as scripts/vanilla-data.js
import { MinecraftBlockTypes } from "vanilla-data.js";
MinecraftBlockTypes.DiamondBlock;
Last Updated:
Contributors: github-actions