I am trying to use strings to spawn enemies. However, I am not so sure about how to spawn them. Can you please help me?
use /summon
Sorry. I want to use code in Microsoft MakeCode Blocks to make strings that determine the hostile mobs for each wave. For example 1 for a zombie, 2 for a skeleton, 3 for a creeper, etc. So wave 7 might look something like this: 112231123322
So idk how to make these things
Yeah. That’s my question.
Sorry. That is not what I mean. Take a look at this project, it uses strings to spawn enemies.
https://www.khanacademy.org/computer-programming/spin-off-of-qwertyrhymes-ultimate-td-spin-off-v11/4943152805314560/embedded
Maybe something like this???
So what it does is replicate a dictionary using two arrays. Then you pass in a (long) string to the summon_mobs
function which is separated by ,
. It splits the string into an array and summons the mob at the specified coordinates.
I like to use strings to spawn enemies
Your offer sounds excellent. Very often, I play with others gamers and join different factions. I found on one site the top Minecraft Factions Servers where you can play and fight with other factions, and even more, some of them offer you a cash reward if you win. I have been playing on these servers for several months, and I adore this occupation. And everything is accurate, and I already have some gains that I have already taken. I am sure that you will appreciate this idea and we can have a day for playing altogether.
this site: https://minecraft.buzz/category/factions