Started by
Jacko22
on
Topic category: Help with Minecraft modding (Java Edition)
The following is a list of things that I'm not sure how to doL
- Having a mob with a stationary base that does not rotate, but a "head" that tracks the player. (General advice about how to classify something as a "head" from a BlockBench model could also help.)
- Having a mob that spawns when a certain block is broken.
- Having a boss mob with a phase transition that changes the model and behavior. (I undertand that having the second phase spawn as a a sperate mob when the first one dies would work, but I would like to have a consistent health bar across the entire fight.
- Finally, having a mob with more than one projectile attack.
Thank you very much to anyone who can help.
First point: don't give its AI any movement, and set it's movement speed to 0, then when you create the model using applications like block bench, after you import the model into Mcreator, only give the "head" head movement animation.
Second point: if it is a custom block, make it spawn when that block is broken, there are triggers for that. For vanilla blocks, there is a procedure global trigger called "when block broken" just spawn it if the provided block = "your block".
Third point: when your mob passes half health (or any amount indicating a new phase) spawn the new mob, then set health of nearest entity of type "phase 2 boss" to target entity health.
Fourth point: on it's entity tick, you can use a 1 in 100 chance every tick to shoot a custom projectile, you can even use a numbered variable called projectile attack, if it equals 1 shoot projectile 1, and such.