Started by
jeff29
on
Topic category: Advanced modding
i want to make a raid with a mob that i made i dont want my mob in villager raids i want it to be some times lego people can raid your base in huge amounts and kill you destroying your bed how can i make this?
it is hard but i will say what i know, you need to make a very specific block that you can't obtain even in creative then put it in your structure that will be raided, choose your things that will raid that "base" or whatever structure you use, then make a procedure about on tick update it will randomly choose 1 or 0, if 1 (or 0 if you want) is chosen then it will make the raid begin spawning all the entities, make sure they are hostile to the inhabitants of the base, then make them also grief the base if you want, and then boom you have a raid, making it have a bar is impossible, sorry, hope that was help.
You could make a bar by having an invisible, AI-less mob with a boss bar spawn somewhere, and damage it everytime a mob in the raid is killed. When it dies, the raid stops spawning.
just use execute command and /bossbar