Topic category: Advanced modding
Good day fellow modders!
I am making a mod which will be adding hundreds of new commands that would be useful for map makers. This mod wouldn't add any new blocks, so it won't change the world generation or anything, but just commands. While working, I was thinking of how would I make a custom command that will have a variable to choose how many mobs to spawn.
*EG: /spawn Mob 5
/spawn Mob 5 - This part right here will spawn the animal at your cords.
/spwan Mob 5 - This part will spawn the mob.
/spawn Mob 5 - This will be how many of the mob it will spawn.
Any type of help would be helpful! :D