add version to title

This commit is contained in:
ZXMushroom63 2024-12-05 13:19:00 +08:00
parent 01fa9fee08
commit 312af34bef
2 changed files with 14 additions and 1 deletions

View File

@ -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:

13
docs/tutorials/spawnxp.md Normal file
View File

@ -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 <author_name>");
//future code
})();
```