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