From 312af34bef026fd84d9dc7dc0d6797635a7304b8 Mon Sep 17 00:00:00 2001 From: ZXMushroom63 Date: Thu, 5 Dec 2024 13:19:00 +0800 Subject: [PATCH] add version to title --- docs/tutorials/index.md | 2 +- docs/tutorials/spawnxp.md | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 docs/tutorials/spawnxp.md diff --git a/docs/tutorials/index.md b/docs/tutorials/index.md index 5fecc0b..99dfacc 100644 --- a/docs/tutorials/index.md +++ b/docs/tutorials/index.md @@ -23,7 +23,7 @@ Tutorials: - [Disable All Particles](disable_all_particles.md) - [Slippery Mod](slippery.md) - [/hat mod](hat.md) -- [/spawnxp command](comingsoon) +- [/spawnxp command](spawnxp.md) ### Advanced Prerequisites: diff --git a/docs/tutorials/spawnxp.md b/docs/tutorials/spawnxp.md new file mode 100644 index 0000000..d97b3c1 --- /dev/null +++ b/docs/tutorials/spawnxp.md @@ -0,0 +1,13 @@ +## /spawnxp command +This tutorial will cover spawning in entities using the `ModAPI.promisify()` API. + +As usual, we'll start with the boilerplate: +```javascript +(function SpawnXPMod() { + ModAPI.meta.title("Spawn XP"); + ModAPI.meta.description("Adds a /spawnxp command."); + ModAPI.meta.credits("By "); + + //future code +})(); +``` \ No newline at end of file