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
    

USAGE

// file is saved as scripts/minecraft-math.js
import { Vector3Builder } from "minecraft-math.js";
const vec3 = new Vector3Builder(0, 1, 0);
  • 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: jayly-bot