Started by
ApertureMax
on
Topic category: Help with Minecraft modding (Java Edition)
So i need a grasshopper that frequently jumps how can i do this? i need actual code since leap at target entity doesn't work. Thanks in advance.
Topic category: Help with Minecraft modding (Java Edition)
So i need a grasshopper that frequently jumps how can i do this? i need actual code since leap at target entity doesn't work. Thanks in advance.
Leap at target entity is for hostile attacks, like how spiders attack players. Do you want the entity to be hostile?
Either way, you can accomplish this using the 'override motion vector' procedure. It would look something like this:
This sort of timer system works great for all sorts of entity behaviors you want to occur at specific points. (As long as you can do them using procedures.) I personally use this to make beetles from a mod of mine randomly stop moving and play a sound/animation, before wandering around again, and to control when dragonflies change direction.