follow
Follow component
A simple component that allows hostile mobs to follow another mob in their faction. Default behaviour is alt click.
@author Gandalf2k15
Vars | |
follow_distance | The distance we keep from the user. |
---|---|
follow_sounds | Sounds we play when the mob starts following. |
follow_speed | The speed at which we follow the user. |
following | Are we currently following? Used for playing sounds. |
parent_mob | Our parent mob. |
unfollow_sounds | Sounds we play when the mob stops following via alt click. |
Var Details
follow_distance
The distance we keep from the user.
follow_sounds
Sounds we play when the mob starts following.
follow_speed
The speed at which we follow the user.
following
Are we currently following? Used for playing sounds.
parent_mob
Our parent mob.
unfollow_sounds
Sounds we play when the mob stops following via alt click.