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:
https://jaylydev.github.io/scriptapi-docs/assets/meta/math/latest/minecraft-math.js
USAGE
// file is saved as scripts/minecraft-math.js
import math from "minecraft-math.js";
const { Vector3Builder } = math;
const vec3 = new Vector3Builder(0, 1, 0);
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.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;