Add coordinate support for spawn command (monster only)

Now the spawn command is: spawn <entityID> [amount] [level(monster only)] <x> <y> <z>(monster only, optional)
The coordinate is optional
This commit is contained in:
Paimon2022
2022-06-03 13:50:45 +08:00
committed by Melledy
parent 73a1c5762a
commit 4119f8b787
2 changed files with 14 additions and 2 deletions

View File

@@ -304,7 +304,7 @@
"description": "Sets your world level (Relog to see proper effects)"
},
"spawn": {
"usage": "Usage: spawn <entityID> [amount] [level(monster only)]",
"usage": "Usage: spawn <entityID> [amount] [level(monster only)] <x> <y> <z>(monster only, optional)",
"success": "Spawned %s of %s.",
"limit_reached": "Scene spawn limit reached. Spawning %s entities instead.",
"description": "Spawns an entity near you"