How can I implement custom commands in Forge? I want to port my Spigot plugin 'cause it does simple things I need for my Forge server but I don't know how to implement commands on Forge.
Well, I've never said that they were the same entity type...
I have two different entities, Crewmate and Impostor. And I want the Impostor to spawn among the crewmates with a probability (50% for example). That's it. I know how to do the probability thing, but I don't know how to use that probability to spawn them.
So would both entities' codes be enough? I really need help at this. And I'm not sure if the Zombie would work because the crewmate and impostor are two different entities?
My mod is an Among Us mod that spawns crewmates in the world. I'm trying to make the mod choose between spawning the crewmate entity or the impostor entity with a probability of 0.5 each. How would I do that?
I can provide any code of entities or everything you need in order to help me. (Except the things I've tried to make the spawning probability, because I don't have them anymore lol).