Topic category: Help with Minecraft modding (Java Edition)
Hi! I wanted to know if i was possible to make a mob walk randomly (But really not to move too much either, just like move a tiny bit around) while facing their attackers. The only moment they should chase a player would be because they are getting too far from the boss.
(For those that know the game Sea of Thieves, think of the skeleton and ashen lords, their way of being still, then doing a couple steps here and there all that while facing their target, etc...)
The reason i wanted to do that, is because i want to make that boss feel unique in its combat. I'm tired of melee mobs just running forever after you. Also they have some custom procedure to cast some magic attacks , summon minions and all of that so the constant backtracking while fighting it is both too easy and boring. Also i don't want to simply stop him from walking when a player is in range. It's sad enough that he's almost full static during battle (Because we can't animate still), i'd like him to at least move a little even when he's in range of attacks.
For real i don't think it would be that hard, because i think since 1.13 with a "/tp @e[type=undeadsevercursedlife:anila_reborn_overlord_of_infharania,distance=..1] ^ ^ ^ facing entity @p" should do the first trick, but the custom walking bit, i don't really know, sadly..
Thanks for any replies, i hope to get some real soon <3
You could use movement vectors and use an other procedure to check how far the player is
But if you do that it Will just move on one way forever until in next to the player for the rest you need some very complex procesures
Or you can just teleport him somewhere next to the closest player
Move little bit huh
You can use movment vectors
Or make him slow
Movement vectors do not care how fast the mob that the procedure is on
For the casting magic use projectiles make him hold a range weapon
Summoning is easy set a condition of spawning the spawn the mob you want to spawn
Not to hard to do
Thanks for the hints!
@Swdazxura The attacks are already done, and they are already to my liking. Although, i'll try to look for the movement vectors even though i don't know what they are and how they work, but that's how it is.
I'll try to look with what you gave me :)