Started by
John ModMaker
on
Topic category: Help with Minecraft modding (Java Edition)
So i was starting to make my mod’s third boss (Venus Slime), but i quickly ran into a problem.
You see, i wanted my boss to shoot six projectiles around itself, kind of like this.
But since i’m relatively new to MCreator, i don’t know how to do that.
So, i’m wondering if it is possible to make my boss shoot 6 projectiles around itself in the x and z axis, each separated by 60º.
Kind of like this.
I think you can set shoot direction on the projectile shoow procedure block, but will need trygonometric functions to determine directions to shooot at
You could also have the boss shoot the projectile from itself (using shoot from entity rather than shoot from position), then rotate 60 degrees (setting the entity's pitch to its head pitch and its yaw to its yaw +60), repeated 6 times. Probably with some kind of cooldown, unless you want it to shoot a solid line of projectiles.
For a cooldown, you could create a potion effect, and check if the boss doesn't have the potion effect, if it doesn't shoot the projectiles and apply the potion effect for the duration you want it to pause for, with no particles.
thanks guys