Topic category: Help with Minecraft modding (Java Edition)
mob gets a boost from killing other mobs after a while exhaustion
I have an idea that after killing a player a mob gets 120 seconds of boost, 90 seconds for an aggressive mob (for the player), 60 seconds for a neutral mob and 30 seconds for a peaceful mob
Gain gives:
1) Changes his skin (to make it clear that he is strengthened at the moment)
2) Increases damage to 10 (was 7)
3) Increases armor to 3 (was 1)
4) Increases speed to 0.95 (was 1)
5) Restores his health by 1 heart every 15 seconds.
6) Increases health to 30 (was 28)
After a while, namely 300 seconds, it goes into a form of exhaustion
Exhaustion gives:
1) Changes his skin (to make it clear that he is depleted at the moment)
2) Loses damage to 5 (was 7)
3) Loses armor to 0 (was 1)
4) Loses speed to 1.25 (was 1)
5) Loses its health 1 heart every 30 seconds Exhaustion
6) Loses health up to 24 (was 28)
I have an idea, but I can't do it :/
That seems possible, but i need you to clarify a few things:
I also need to know few more things:
2) As soon as he is exhausted, his maximum health drops to 24, both with boosted and normal, and if, for example, an entity had 23 and exhaustion occurred, then he also remains at 23, just the maximum health drops to 24
1) I think maximum names and effects of potions no more
2) No, I have a made texture. I ran it in mcreator but without it and everything worked, but I would like it to be a unique mob
3) I'm not sure about this. I only use Geckolib to animate a mob in blockbench and mcreator